Skip to content

Commit e597e42

Browse files
committed
fix(wrapper): Mount Nipype config file under new $HOME
When ``$HOME`` was changed to ``/home/fmriprep`` for Docker images I missed updating the mount point of the wrapper. This PR addresses that issue.
1 parent f7048fb commit e597e42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wrapper/fmriprep_docker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,8 @@ def main():
396396
unknown_args.extend(['-w', '/scratch'])
397397

398398
if opts.config:
399-
command.extend(['-v', ':'.join((opts.config,
400-
'/root/.nipype/nipype.cfg', 'ro'))])
399+
command.extend(['-v', ':'.join((
400+
opts.config, '/home/fmriprep/.nipype/nipype.cfg', 'ro'))])
401401

402402
if opts.use_plugin:
403403
command.extend(['-v', ':'.join((opts.use_plugin, '/tmp/plugin.yml',

0 commit comments

Comments
 (0)