Skip to content

Commit ccb6170

Browse files
author
Arno Klein
committed
Update README to reset environment variables within Docker container
1 parent 76a942f commit ccb6170

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,13 @@ on the cortical surfaces and in the cortical and non-cortical volumes
135135

136136
docker run --rm -ti -v $HOST:$DOCK --entrypoint /bin/bash nipy/mindboggle
137137

138-
2. `FreeSurfer <http://surfer.nmr.mgh.harvard.edu>`_ generates labeled
138+
2. Recommended: reset environment variables as above within the Docker container::
139+
140+
DOCK=/home/jovyan/work # path to HOST from Docker container
141+
IMAGE=$DOCK/example_mri_data/T1.nii.gz # input image on HOST
142+
ID=arno # ID for brain image
143+
144+
3. `FreeSurfer <http://surfer.nmr.mgh.harvard.edu>`_ generates labeled
139145
cortical surfaces, and labeled cortical and noncortical volumes.
140146
Run ``recon-all`` on a T1-weighted IMAGE file (and optionally a T2-weighted
141147
image), and set the output ID name as well as the $FREESURFER_OUT output
@@ -145,7 +151,7 @@ directory::
145151

146152
recon-all -all -i $IMAGE -s $ID -sd $FREESURFER_OUT
147153

148-
3. `ANTs <http://stnava.github.io/ANTs/>`_ provides brain volume extraction,
154+
4. `ANTs <http://stnava.github.io/ANTs/>`_ provides brain volume extraction,
149155
segmentation, and registration-based labeling. ``antsCorticalThickness.sh``
150156
generates transforms and segmentation files used by Mindboggle, and is run
151157
on the same IMAGE file and ID as above, with $ANTS_OUT output directory.
@@ -163,7 +169,7 @@ already installed in the Docker container ("\\" splits the command for readabili
163169
-p $TEMPLATE/Priors2/priors%d.nii.gz \
164170
-u 0
165171

166-
4. **Mindboggle** can be run on data preprocessed by ``recon-all`` and
172+
5. **Mindboggle** can be run on data preprocessed by ``recon-all`` and
167173
``antsCorticalThickness.sh`` as above by setting::
168174

169175
FREESURFER_SUBJECT=$FREESURFER_OUT/$ID

0 commit comments

Comments
 (0)