diff --git a/wrapper/src/fmriprep_docker/__main__.py b/wrapper/src/fmriprep_docker/__main__.py index 71ae27221..80f975b7a 100755 --- a/wrapper/src/fmriprep_docker/__main__.py +++ b/wrapper/src/fmriprep_docker/__main__.py @@ -521,7 +521,7 @@ def main(): unknown_args.append('--derivatives') for deriv, deriv_path in opts.derivatives.items(): command.extend(['-v', '{}:/deriv/{}:ro'.format(deriv_path, deriv)]) - unknown_args.append(f'{deriv}=/deriv/{deriv}') + unknown_args.append('{}=/deriv/{}'.format(deriv, deriv)) if opts.work_dir: command.extend(['-v', ':'.join((opts.work_dir, '/scratch'))])