File tree Expand file tree Collapse file tree 4 files changed +33
-26
lines changed Expand file tree Collapse file tree 4 files changed +33
-26
lines changed Original file line number Diff line number Diff line change 1- # Generated by Neurodocker version 0.4.2
2- # Timestamp: 2018-11-06 01:58:12 UTC
1+ # Generated by Neurodocker version 0.4.2-3-gf7055a1
2+ # Timestamp: 2018-11-26 23:42:54 UTC
33#
44# Thank you for using Neurodocker. If you discover any issues
55# or ways to improve this software, please submit an issue or
@@ -121,23 +121,23 @@ RUN export PATH="/opt/miniconda-latest/bin:$PATH" \
121121 && sync && conda clean -tipsy && sync \
122122 && conda create -y -q --name mb \
123123 && conda install -y -q --name mb \
124- python=3.6 \
125- pip \
126- jupyter \
127- cmake \
128- mesalib \
129- vtk \
130- pandas \
131- matplotlib \
132- colormath \
133- nipype \
134- tbb-devel \
135- nose \
124+ ' python=3.6' \
125+ ' pip' \
126+ ' jupyter' \
127+ ' cmake' \
128+ ' mesalib' \
129+ ' vtk' \
130+ ' pandas' \
131+ ' matplotlib' \
132+ ' colormath' \
133+ ' nipype>=1.1.4' \
134+ ' tbb-devel' \
135+ ' nose' \
136136 && sync && conda clean -tipsy && sync \
137137 && bash -c "source activate mb \
138138 && pip install --no-cache-dir \
139- datalad[full] \
140- duecredit" \
139+ ' datalad[full]' \
140+ ' duecredit' " \
141141 && rm -rf ~/.cache/pip/* \
142142 && sync \
143143 && sed -i '$isource activate mb' $ND_ENTRYPOINT
@@ -250,7 +250,7 @@ RUN echo '{ \
250250 \n "pandas", \
251251 \n "matplotlib", \
252252 \n "colormath", \
253- \n "nipype", \
253+ \n "nipype>=1.1.4 ", \
254254 \n "tbb-devel", \
255255 \n "nose" \
256256 \n ], \
Original file line number Diff line number Diff line change 4343# docker run --rm -ti -v $HOST:/home/jovyan/work nipy/mindboggle $IMAGE --id $ID --out $OUT
4444# ##############################################################################
4545
46+ image=" kaczmarj/neurodocker:master@sha256:936401fe8f677e0d294f688f352cbb643c9693f8de371475de1d593650e42a66"
47+
4648# Generate a dockerfile for building a mindboggle container
47- docker run --rm kaczmarj/neurodocker:0.4.2 generate docker \
49+ docker run --rm ${image} generate docker \
4850 --base neurodebian:stretch \
4951 --pkg-manager apt \
5052 --install graphviz tree git-annex-standalone vim \
@@ -54,8 +56,8 @@ docker run --rm kaczmarj/neurodocker:0.4.2 generate docker \
5456 --ants version=b43df4bfc8 method=source cmake_opts=' -DBUILD_SHARED_LIBS=ON' make_opts=' -j 4' \
5557 --run ' ln -s /usr/lib/x86_64-linux-gnu /usr/lib64' \
5658 --miniconda \
57- conda_install=" python=3.6 pip jupyter cmake mesalib vtk pandas \
58- matplotlib colormath nipype tbb-devel nose" \
59+ conda_install=" python=3.6 pip jupyter cmake mesalib vtk pandas
60+ matplotlib colormath nipype>=1.1.4 tbb-devel nose" \
5961 pip_install=" datalad[full] duecredit" \
6062 create_env=" mb" \
6163 activate=true \
Original file line number Diff line number Diff line change @@ -348,6 +348,10 @@ def first_string_containing_substring(substring, List):
348348 first_matching_string = [x for x in List if substring in x ][0 ]
349349 return first_matching_string
350350
351+ # Ensure provenance configuration is inherited by workflow
352+ if args .prov :
353+ config .enable_provenance ()
354+
351355# ============================================================================
352356#
353357# Initialize workflow inputs and outputs
@@ -2361,11 +2365,10 @@ if __name__ == '__main__':
23612365 time0 = time ()
23622366
23632367 # ------------------------------------------------------------------------
2364- # Workflow configuration: provenance tracking, content hashing, etc.:
2368+ # Workflow configuration: content hashing, crashfiles , etc.:
23652369 # ------------------------------------------------------------------------
2366- if args .prov :
2367- config .enable_provenance ()
23682370 mbFlow .config ['execution' ]['hash_method' ] = 'content'
2371+ mbFlow .config ['execution' ]['crashfile_format' ] = 'txt'
23692372 # mbFlow.config['execution']['use_relative_paths'] = True
23702373
23712374 # ------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -130,6 +130,10 @@ TDIR = args.template
130130if args .skip_freesurfer and args .skip_ants :
131131 print ("Use only one of the skip arguments: --skip_freesurfer, --skip_ants." )
132132
133+ # Ensure provenance configuration is inherited by workflow
134+ if args .prov :
135+ config .enable_provenance ()
136+
133137# ----------------------------------------------------------------------------
134138# Initialize workflow inputs and outputs
135139# ----------------------------------------------------------------------------
@@ -445,10 +449,8 @@ if __name__ == '__main__':
445449 time0 = time ()
446450
447451 # --------------------------------------------------------------------
448- # Workflow configuration: provenance tracking, content hashing, etc.:
452+ # Workflow configuration: content hashing, crashfiles , etc.:
449453 # --------------------------------------------------------------------
450- if args .prov :
451- config .enable_provenance ()
452454 mbFlow .config ['execution' ]['hash_method' ] = 'content'
453455 # mbFlow.config['execution']['use_relative_paths'] = True
454456 mbFlow .config ['execution' ]['crashfile_format' ] = 'txt'
You can’t perform that action at this time.
0 commit comments