File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ class LaplacianThicknessInputSpec(ANTSCommandInputSpec):
174
174
position = 5 )
175
175
dT = traits .Float (argstr = 'dT=%d' , desc = '' , position = 6 )
176
176
sulcus_prior = traits .Bool (argstr = 'use-sulcus-prior' , desc = '' , position = 7 )
177
- opt_tolerance = traits .Float (argstr = 'optional-laplacian-tolerance=%d' ,
177
+ opt_tolerance = traits .Float (argstr = 'optional-laplacian-tolerance=%d' ,
178
178
desc = '' , position = 8 )
179
179
180
180
Original file line number Diff line number Diff line change @@ -619,19 +619,19 @@ def func1(in1):
619
619
iterfield = ['in1' ],
620
620
name = 'n1' )
621
621
n1 .inputs .in1 = [1 ,2 ,3 ]
622
-
623
-
622
+
623
+
624
624
w1 = Workflow (name = 'test' )
625
625
w1 .base_dir = wd
626
626
w1 .add_nodes ([n1 ])
627
627
# set local check
628
628
w1 .config ['execution' ] = {'stop_on_first_crash' : 'true' ,
629
629
'local_hash_check' : 'true' ,
630
630
'crashdump_dir' : wd }
631
-
631
+
632
632
# test output of num_subnodes method when serial is default (False)
633
633
yield assert_equal , n1 .num_subnodes (), len (n1 .inputs .in1 )
634
-
634
+
635
635
# test running the workflow on default conditions
636
636
error_raised = False
637
637
try :
@@ -640,11 +640,11 @@ def func1(in1):
640
640
pe .logger .info ('Exception: %s' % str (e ))
641
641
error_raised = True
642
642
yield assert_false , error_raised
643
-
643
+
644
644
# test output of num_subnodes method when serial is True
645
645
n1 ._serial = True
646
646
yield assert_equal , n1 .num_subnodes (), 1
647
-
647
+
648
648
# test running the workflow on serial conditions
649
649
error_raised = False
650
650
try :
@@ -653,6 +653,6 @@ def func1(in1):
653
653
pe .logger .info ('Exception: %s' % str (e ))
654
654
error_raised = True
655
655
yield assert_false , error_raised
656
-
656
+
657
657
os .chdir (cwd )
658
658
rmtree (wd )
You can’t perform that action at this time.
0 commit comments