File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -283,14 +283,14 @@ class N4BiasFieldCorrection(ANTSCommand):
283283
284284
285285	>>> n4_2 = copy.deepcopy(n4) 
286-     >>> n4 .inputs.convergence_threshold = 1e-6 
286+     >>> n4_2 .inputs.convergence_threshold = 1e-6 
287287    >>> n4_2.cmdline 
288288    'N4BiasFieldCorrection --bspline-fitting [ 300 ] \  
289289\ 
290290\ 
291291
292292
293-     >>> n4_3 = copy.deepcopy(n4 ) 
293+     >>> n4_3 = copy.deepcopy(n4_2 ) 
294294    >>> n4_3.inputs.bspline_order = 5 
295295    >>> n4_3.cmdline 
296296    'N4BiasFieldCorrection --bspline-fitting [ 300, 5 ] \  
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def test_N4BiasFieldCorrection_inputs():
1313    ),
1414    convergence_threshold = dict (requires = ['n_iterations' ],
1515    ),
16-     dimension = dict (argstr = '--image-dimension  %d' ,
16+     dimension = dict (argstr = '-d  %d' ,
1717    usedefault = True ,
1818    ),
1919    environ = dict (nohash = True ,
@@ -28,7 +28,6 @@ def test_N4BiasFieldCorrection_inputs():
2828    mask_image = dict (argstr = '--mask-image %s' ,
2929    ),
3030    n_iterations = dict (argstr = '--convergence %s' ,
31-     requires = ['convergence_threshold' ],
3231    ),
3332    num_threads = dict (nohash = True ,
3433    usedefault = True ,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments