File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,15 @@ arguments in a ``docker`` command::
68
68
-v $HOME/projects/fmriprep/fmriprep:/usr/local/miniconda/lib/python3.6/site-packages/fmriprep:ro --entrypoint=bash \
69
69
poldracklab/fmriprep:latest
70
70
71
- Patching containers can be achieved in Singularity by using the PYTHONPATH variable: ::
71
+ Patching containers can be achieved in Singularity analogous to ``docker ``
72
+ using the ``--bind `` (``-B ``) option: ::
73
+
74
+ $ singularity run \
75
+ -B $HOME/projects/fmriprep/fmriprep:/usr/local/miniconda/lib/python3.6/site-packages/fmriprep \
76
+ fmriprep.img \
77
+ /scratch/dataset /scratch/out participant -w /out/work/
78
+
79
+ Or you can patch Singularity containers using the PYTHONPATH variable: ::
72
80
73
81
$ PYTHONPATH="$HOME/projects/fmriprep" singularity run fmriprep.img \
74
82
/scratch/dataset /scratch/out participant -w /out/work/
You can’t perform that action at this time.
0 commit comments