@@ -115,7 +115,7 @@ Running a Singularity Image
115
115
116
116
If the data to be preprocessed is also on the HPC, you are ready to run fmriprep. ::
117
117
118
- $ singularity run --clearenv /my_images/fmriprep-1.1.2.simg \
118
+ $ singularity run --cleanenv /my_images/fmriprep-1.1.2.simg \
119
119
path/to/data/dir path/to/output/dir \
120
120
participant \
121
121
--participant-label label
@@ -126,10 +126,10 @@ If the data to be preprocessed is also on the HPC, you are ready to run fmriprep
126
126
the container <https://github.com/singularityware/singularity/issues/445> `_.
127
127
Because of this your host libraries (such as nipype) could be accidentally used
128
128
instead of the ones inside the container - if they are included in ``PYTHONPATH ``.
129
- To avoid such situation we recommend using the ``--clearenv `` singularity flag
129
+ To avoid such situation we recommend using the ``--cleanenv `` singularity flag
130
130
in production use. For example: ::
131
131
132
- $ singularity run --clearenv ~/poldracklab_fmriprep_latest-2016-12-04-5b74ad9a4c4d.img \
132
+ $ singularity run --cleanenv ~/poldracklab_fmriprep_latest-2016-12-04-5b74ad9a4c4d.img \
133
133
/work/04168/asdf/lonestar/ $WORK/lonestar/output \
134
134
participant \
135
135
--participant-label 387 --nthreads 16 -w $WORK/lonestar/work \
@@ -153,7 +153,7 @@ If the data to be preprocessed is also on the HPC, you are ready to run fmriprep
153
153
the ``-B <host_folder>:<container_folder> `` Singularity argument.
154
154
For example: ::
155
155
156
- $ singularity run --clearenv -B /work:/work ~/poldracklab_fmriprep_latest-2016-12-04-5b74ad9a4c4d.simg \
156
+ $ singularity run --cleanenv -B /work:/work ~/poldracklab_fmriprep_latest-2016-12-04-5b74ad9a4c4d.simg \
157
157
/work/my_dataset/ /work/my_dataset/derivatives/fmriprep \
158
158
participant \
159
159
--participant-label 387 --nthreads 16 \
@@ -194,7 +194,7 @@ https://surfer.nmr.mgh.harvard.edu/registration.html.
194
194
When using manually-prepared environments or singularity, FreeSurfer will search
195
195
for a license key file first using the ``$FS_LICENSE `` environment variable and then
196
196
in the default path to the license key file (``$FREESURFER_HOME/license.txt ``).
197
- If using the ``--clearenv `` flag and ``$FS_LICENSE `` is set, use ``--fs-license-file $FS_LICENSE ``
197
+ If using the ``--cleanenv `` flag and ``$FS_LICENSE `` is set, use ``--fs-license-file $FS_LICENSE ``
198
198
to pass the license file location to fMRIPrep.
199
199
200
200
It is possible to run the docker container pointing the image to a local path
0 commit comments