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
3
3
#
4
4
# Thank you for using Neurodocker. If you discover any issues
5
5
# or ways to improve this software, please submit an issue or
@@ -121,23 +121,23 @@ RUN export PATH="/opt/miniconda-latest/bin:$PATH" \
121
121
&& sync && conda clean -tipsy && sync \
122
122
&& conda create -y -q --name mb \
123
123
&& 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' \
136
136
&& sync && conda clean -tipsy && sync \
137
137
&& bash -c "source activate mb \
138
138
&& pip install --no-cache-dir \
139
- datalad[full] \
140
- duecredit" \
139
+ ' datalad[full]' \
140
+ ' duecredit' " \
141
141
&& rm -rf ~/.cache/pip/* \
142
142
&& sync \
143
143
&& sed -i '$isource activate mb' $ND_ENTRYPOINT
@@ -250,7 +250,7 @@ RUN echo '{ \
250
250
\n "pandas", \
251
251
\n "matplotlib", \
252
252
\n "colormath", \
253
- \n "nipype", \
253
+ \n "nipype>=1.1.4 ", \
254
254
\n "tbb-devel", \
255
255
\n "nose" \
256
256
\n ], \
Original file line number Diff line number Diff line change 43
43
# docker run --rm -ti -v $HOST:/home/jovyan/work nipy/mindboggle $IMAGE --id $ID --out $OUT
44
44
# ##############################################################################
45
45
46
+ image=" kaczmarj/neurodocker:master@sha256:936401fe8f677e0d294f688f352cbb643c9693f8de371475de1d593650e42a66"
47
+
46
48
# 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 \
48
50
--base neurodebian:stretch \
49
51
--pkg-manager apt \
50
52
--install graphviz tree git-annex-standalone vim \
@@ -54,8 +56,8 @@ docker run --rm kaczmarj/neurodocker:0.4.2 generate docker \
54
56
--ants version=b43df4bfc8 method=source cmake_opts=' -DBUILD_SHARED_LIBS=ON' make_opts=' -j 4' \
55
57
--run ' ln -s /usr/lib/x86_64-linux-gnu /usr/lib64' \
56
58
--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" \
59
61
pip_install=" datalad[full] duecredit" \
60
62
create_env=" mb" \
61
63
activate=true \
Original file line number Diff line number Diff line change @@ -348,6 +348,10 @@ def first_string_containing_substring(substring, List):
348
348
first_matching_string = [x for x in List if substring in x ][0 ]
349
349
return first_matching_string
350
350
351
+ # Ensure provenance configuration is inherited by workflow
352
+ if args .prov :
353
+ config .enable_provenance ()
354
+
351
355
# ============================================================================
352
356
#
353
357
# Initialize workflow inputs and outputs
@@ -2361,11 +2365,10 @@ if __name__ == '__main__':
2361
2365
time0 = time ()
2362
2366
2363
2367
# ------------------------------------------------------------------------
2364
- # Workflow configuration: provenance tracking, content hashing, etc.:
2368
+ # Workflow configuration: content hashing, crashfiles , etc.:
2365
2369
# ------------------------------------------------------------------------
2366
- if args .prov :
2367
- config .enable_provenance ()
2368
2370
mbFlow .config ['execution' ]['hash_method' ] = 'content'
2371
+ mbFlow .config ['execution' ]['crashfile_format' ] = 'txt'
2369
2372
# mbFlow.config['execution']['use_relative_paths'] = True
2370
2373
2371
2374
# ------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -130,6 +130,10 @@ TDIR = args.template
130
130
if args .skip_freesurfer and args .skip_ants :
131
131
print ("Use only one of the skip arguments: --skip_freesurfer, --skip_ants." )
132
132
133
+ # Ensure provenance configuration is inherited by workflow
134
+ if args .prov :
135
+ config .enable_provenance ()
136
+
133
137
# ----------------------------------------------------------------------------
134
138
# Initialize workflow inputs and outputs
135
139
# ----------------------------------------------------------------------------
@@ -445,10 +449,8 @@ if __name__ == '__main__':
445
449
time0 = time ()
446
450
447
451
# --------------------------------------------------------------------
448
- # Workflow configuration: provenance tracking, content hashing, etc.:
452
+ # Workflow configuration: content hashing, crashfiles , etc.:
449
453
# --------------------------------------------------------------------
450
- if args .prov :
451
- config .enable_provenance ()
452
454
mbFlow .config ['execution' ]['hash_method' ] = 'content'
453
455
# mbFlow.config['execution']['use_relative_paths'] = True
454
456
mbFlow .config ['execution' ]['crashfile_format' ] = 'txt'
You can’t perform that action at this time.
0 commit comments