File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed 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