@@ -275,40 +275,36 @@ if args.mb_num_threads:
275
275
# ----------------------------------------------------------------------------
276
276
if __name__ == '__main__' :
277
277
278
- if args .version :
279
- print ('mindboggle123 runs {0}' .format (mindboggle_version ))
280
- else :
281
-
282
- from time import time
283
- time0 = time ()
284
-
285
- # --------------------------------------------------------------------
286
- # Workflow configuration: provenance tracking, content hashing, etc.:
287
- # --------------------------------------------------------------------
288
- # config.enable_provenance()
289
- mbFlow .config ['execution' ]['hash_method' ] = 'content'
290
- # mbFlow.config['execution']['use_relative_paths'] = True
291
-
292
- # --------------------------------------------------------------------
293
- # Debug: http://nipy.org/nipype/users/config_file.html#debug-configuration
294
- # --------------------------------------------------------------------
295
- debug = False
296
- if debug :
297
- config .set ('logging' , 'workflow_level' , 'DEBUG' )
298
- logging .update_logging (config )
299
- mbFlow .config ['execution' ]['stop_on_first_rerun' ] = True
300
-
301
- # --------------------------------------------------------------------
302
- # Run with or without a plugin:
303
- # --------------------------------------------------------------------
304
- if args .plugin :
305
- if args .plugin_args :
306
- mbFlow .run (plugin = args .plugin , plugin_args = eval (args .plugin_args ))
307
- else :
308
- mbFlow .run (plugin = args .plugin )
278
+ from time import time
279
+ time0 = time ()
280
+
281
+ # --------------------------------------------------------------------
282
+ # Workflow configuration: provenance tracking, content hashing, etc.:
283
+ # --------------------------------------------------------------------
284
+ # config.enable_provenance()
285
+ mbFlow .config ['execution' ]['hash_method' ] = 'content'
286
+ # mbFlow.config['execution']['use_relative_paths'] = True
287
+
288
+ # --------------------------------------------------------------------
289
+ # Debug: http://nipy.org/nipype/users/config_file.html#debug-configuration
290
+ # --------------------------------------------------------------------
291
+ debug = False
292
+ if debug :
293
+ config .set ('logging' , 'workflow_level' , 'DEBUG' )
294
+ logging .update_logging (config )
295
+ mbFlow .config ['execution' ]['stop_on_first_rerun' ] = True
296
+
297
+ # --------------------------------------------------------------------
298
+ # Run with or without a plugin:
299
+ # --------------------------------------------------------------------
300
+ if args .plugin :
301
+ if args .plugin_args :
302
+ mbFlow .run (plugin = args .plugin , plugin_args = eval (args .plugin_args ))
309
303
else :
310
- mbFlow .run ()
304
+ mbFlow .run (plugin = args .plugin )
305
+ else :
306
+ mbFlow .run ()
311
307
312
- print ('mindboggle123 done running recon-all, antsCorticalThicness.sh, '
313
- 'and mindboggle {0} on {1} after {2:0.2f} seconds.' .
314
- format (mindboggle_version , ID , time () - time0 ))
308
+ print ('mindboggle123 done running recon-all, antsCorticalThicness.sh, '
309
+ 'and mindboggle {0} on {1} after {2:0.2f} seconds.' .
310
+ format (mindboggle_version , ID , time () - time0 ))
0 commit comments