1111)
1212
1313
14- class bseInputSpec (CommandLineInputSpec ):
14+ class BseInputSpec (CommandLineInputSpec ):
1515
1616 inputMRIFile = File (exists = True , mandatory = True , argstr = '-i %s' ,
1717 desc = 'input MRI volume' , position = 0 )
@@ -55,7 +55,7 @@ class bseInputSpec(CommandLineInputSpec):
5555 timer = traits .Bool (desc = 'show timing' , argstr = '--timer' )
5656
5757
58- class bseOutputSpec (TraitedSpec ):
58+ class BseOutputSpec (TraitedSpec ):
5959 outputMRIVolume = File (desc = 'path/name of brain-masked MRI volume' )
6060 outputMaskFile = File (desc = 'path/name of smooth brain mask' )
6161 outputDiffusionFilter = File (desc = 'path/name of diffusion filter output' )
@@ -64,9 +64,9 @@ class bseOutputSpec(TraitedSpec):
6464 outputCortexFile = File (desc = 'path/name of cortex file' )
6565
6666
67- class bse (CommandLine ):
68- input_spec = bseInputSpec
69- output_spec = bseOutputSpec
67+ class Bse (CommandLine ):
68+ input_spec = BseInputSpec
69+ output_spec = BseOutputSpec
7070 _cmd = 'bse'
7171
7272 def _gen_filename (self , name ):
@@ -88,16 +88,16 @@ def _list_outputs(self):
8888 return l_outputs (self )
8989
9090
91- class bfcInputSpec (CommandLineInputSpec ):
91+ class BfcInputSpec (CommandLineInputSpec ):
9292 inputMRIFile = File (exists = True , mandatory = True ,
9393 desc = 'input skull-stripped MRI volume' ,
9494 argstr = '-i %s' , position = 0 )
95+ inputMaskFile = File (desc = 'mask file' , argstr = '-m %s' , hash_files = False )
9596 outputMRIVolume = File (mandatory = False ,
9697 desc = 'output bias-corrected MRI volume.'
9798 'If unspecified, output file name'
9899 'will be auto generated.' , argstr = '-o %s' ,
99100 position = 1 , hash_files = False , genfile = True )
100- outputMaskFile = File (desc = 'mask file' , argstr = '-m %s' , hash_files = False )
101101 outputBiasField = File (desc = 'save bias field estimate' ,
102102 argstr = '--bias %s' , hash_files = False )
103103 outputMaskedBiasField = File (desc = 'save bias field estimate (masked)' ,
@@ -157,17 +157,16 @@ class bfcInputSpec(CommandLineInputSpec):
157157 timer = traits .Bool (desc = 'display timing information' , argstr = '--timer' )
158158
159159
160- class bfcOutputSpec (TraitedSpec ):
160+ class BfcOutputSpec (TraitedSpec ):
161161 outputMRIVolume = File (desc = 'path/name of output file' )
162- outputMaskFile = File (desc = 'path/name of mask output file' )
163162 outputBiasField = File (desc = 'path/name of bias field output file' )
164163 outputMaskedBiasField = File (desc = 'path/name of masked bias field output' )
165164 correctionScheduleFile = File (desc = 'path/name of schedule file' )
166165
167166
168- class bfc (CommandLine ):
169- input_spec = bfcInputSpec
170- output_spec = bfcOutputSpec
167+ class Bfc (CommandLine ):
168+ input_spec = BfcInputSpec
169+ output_spec = BfcOutputSpec
171170 _cmd = 'bfc'
172171
173172 def _gen_filename (self , name ):
@@ -191,13 +190,13 @@ def _format_arg(self, name, spec, value):
191190 if name == 'intermediate_file_type' :
192191 return spec .argstr % {"analyze" : "--analyze" , "nifti" : "--nifti" , "gzippedAnalyze" : "--analyzegz" , "gzippedNifti" : "--niftigz" }[value ]
193192
194- return super (bfc , self )._format_arg (name , spec , value )
193+ return super (Bfc , self )._format_arg (name , spec , value )
195194
196195 def _list_outputs (self ):
197196 return l_outputs (self )
198197
199198
200- class pvcInputSpec (CommandLineInputSpec ):
199+ class PvcInputSpec (CommandLineInputSpec ):
201200 inputMRIFile = File (mandatory = True , desc = 'MRI file' , argstr = '-i %s' )
202201 inputMaskFile = File (desc = 'brain mask file' , argstr = '-m %s' )
203202 outputLabelFile = File (
@@ -211,14 +210,14 @@ class pvcInputSpec(CommandLineInputSpec):
211210 timer = traits .Bool (desc = 'time processing' , argstr = '--timer' )
212211
213212
214- class pvcOutputSpec (TraitedSpec ):
213+ class PvcOutputSpec (TraitedSpec ):
215214 outputLabelFile = File (desc = 'path/name of label file' )
216215 outputTissueFractionFile = File (desc = 'path/name of tissue fraction file' )
217216
218217
219- class pvc (CommandLine ):
220- input_spec = pvcInputSpec
221- output_spec = pvcOutputSpec
218+ class Pvc (CommandLine ):
219+ input_spec = PvcInputSpec
220+ output_spec = PvcOutputSpec
222221 _cmd = 'pvc'
223222
224223 def _gen_filename (self , name ):
@@ -240,7 +239,7 @@ def _list_outputs(self):
240239 return l_outputs (self )
241240
242241
243- class cerebroInputSpec (CommandLineInputSpec ):
242+ class CerebroInputSpec (CommandLineInputSpec ):
244243 inputMRIFile = File (
245244 mandatory = True , desc = 'input 3D MRI volume' , argstr = '-i %s' )
246245 inputAtlasMRIFile = File (
@@ -274,16 +273,16 @@ class cerebroInputSpec(CommandLineInputSpec):
274273 desc = 'create a temporary directory within this directory' , argstr = '--tempdirbase %s' )
275274
276275
277- class cerebroOutputSpec (TraitedSpec ):
276+ class CerebroOutputSpec (TraitedSpec ):
278277 outputCerebrumMaskFile = File (desc = 'path/name of cerebrum mask file' )
279278 outputLabelMaskFile = File (desc = 'path/name of label mask file' )
280279 outputAffineTransformFile = File (desc = 'path/name of affine transform file' )
281280 outputWarpTransformFile = File (desc = 'path/name of warp transform file' )
282281
283282
284- class cerebro (CommandLine ):
285- input_spec = cerebroInputSpec
286- output_spec = cerebroOutputSpec
283+ class Cerebro (CommandLine ):
284+ input_spec = CerebroInputSpec
285+ output_spec = CerebroOutputSpec
287286 _cmd = 'cerebro'
288287
289288 def _gen_filename (self , name ):
@@ -306,7 +305,7 @@ def _list_outputs(self):
306305 return l_outputs (self )
307306
308307
309- class cortexInputSpec (CommandLineInputSpec ):
308+ class CortexInputSpec (CommandLineInputSpec ):
310309 inputHemisphereLabelFile = File (
311310 mandatory = True , desc = 'hemisphere / lobe label volume' , argstr = '-h %s' )
312311 outputCerebrumMask = File (
@@ -325,13 +324,13 @@ class cortexInputSpec(CommandLineInputSpec):
325324 timer = traits .Bool (desc = 'timing function' , argstr = '--timer' )
326325
327326
328- class cortexOutputSpec (TraitedSpec ):
327+ class CortexOutputSpec (TraitedSpec ):
329328 outputCerebrumMask = File (desc = 'path/name of cerebrum mask' )
330329
331330
332- class cortex (CommandLine ):
333- input_spec = cortexInputSpec
334- output_spec = cortexOutputSpec
331+ class Cortex (CommandLine ):
332+ input_spec = CortexInputSpec
333+ output_spec = CortexOutputSpec
335334 _cmd = 'cortex'
336335
337336 def _gen_filename (self , name ):
@@ -350,7 +349,7 @@ def _list_outputs(self):
350349 return l_outputs (self )
351350
352351
353- class scrubmaskInputSpec (CommandLineInputSpec ):
352+ class ScrubmaskInputSpec (CommandLineInputSpec ):
354353 inputMaskFile = File (
355354 mandatory = True , desc = 'input structure mask file' , argstr = '-i %s' )
356355 outputMaskFile = File (
@@ -364,13 +363,13 @@ class scrubmaskInputSpec(CommandLineInputSpec):
364363 timer = traits .Bool (desc = 'timing function' , argstr = '--timer' )
365364
366365
367- class scrubmaskOutputSpec (TraitedSpec ):
366+ class ScrubmaskOutputSpec (TraitedSpec ):
368367 outputMaskFile = File (desc = 'path/name of mask file' )
369368
370369
371- class scrubmask (CommandLine ):
372- input_spec = scrubmaskInputSpec
373- output_spec = scrubmaskOutputSpec
370+ class Scrubmask (CommandLine ):
371+ input_spec = ScrubmaskInputSpec
372+ output_spec = ScrubmaskOutputSpec
374373 _cmd = 'scrubmask'
375374
376375 def _gen_filename (self , name ):
@@ -388,7 +387,7 @@ def _list_outputs(self):
388387 return l_outputs (self )
389388
390389
391- class tcaInputSpec (CommandLineInputSpec ):
390+ class TcaInputSpec (CommandLineInputSpec ):
392391 inputMaskFile = File (
393392 mandatory = True , desc = 'input mask volume' , argstr = '-i %s' )
394393 outputMaskFile = File (
@@ -403,13 +402,13 @@ class tcaInputSpec(CommandLineInputSpec):
403402 timer = traits .Bool (desc = 'timing function' , argstr = '--timer' )
404403
405404
406- class tcaOutputSpec (TraitedSpec ):
405+ class TcaOutputSpec (TraitedSpec ):
407406 outputMaskFile = File (desc = 'path/name of mask file' )
408407
409408
410- class tca (CommandLine ):
411- input_spec = tcaInputSpec
412- output_spec = tcaOutputSpec
409+ class Tca (CommandLine ):
410+ input_spec = TcaInputSpec
411+ output_spec = TcaOutputSpec
413412 _cmd = 'tca'
414413
415414 def _gen_filename (self , name ):
@@ -428,7 +427,7 @@ def _list_outputs(self):
428427 return l_outputs (self )
429428
430429
431- class dewispInputSpec (CommandLineInputSpec ):
430+ class DewispInputSpec (CommandLineInputSpec ):
432431 inputMaskFile = File (mandatory = True , desc = 'input file' , argstr = '-i %s' )
433432 outputMaskFile = File (
434433 mandatory = False , desc = 'output file. If unspecified, output file name will be auto generated.' , argstr = '-o %s' , genfile = True )
@@ -439,13 +438,13 @@ class dewispInputSpec(CommandLineInputSpec):
439438 timer = traits .Bool (desc = 'time processing' , argstr = '--timer' )
440439
441440
442- class dewispOutputSpec (TraitedSpec ):
441+ class DewispOutputSpec (TraitedSpec ):
443442 outputMaskFile = File (desc = 'path/name of mask file' )
444443
445444
446- class dewisp (CommandLine ):
447- input_spec = dewispInputSpec
448- output_spec = dewispOutputSpec
445+ class Dewisp (CommandLine ):
446+ input_spec = DewispInputSpec
447+ output_spec = DewispOutputSpec
449448 _cmd = 'dewisp'
450449
451450 def _gen_filename (self , name ):
@@ -464,7 +463,7 @@ def _list_outputs(self):
464463 return l_outputs (self )
465464
466465
467- class dfsInputSpec (CommandLineInputSpec ):
466+ class DfsInputSpec (CommandLineInputSpec ):
468467 inputVolumeFile = File (
469468 mandatory = True , desc = 'input 3D volume' , argstr = '-i %s' )
470469 outputSurfaceFile = File (
@@ -494,13 +493,13 @@ class dfsInputSpec(CommandLineInputSpec):
494493 timer = traits .Bool (desc = 'timing function' , argstr = '--timer' )
495494
496495
497- class dfsOutputSpec (TraitedSpec ):
496+ class DfsOutputSpec (TraitedSpec ):
498497 outputSurfaceFile = File (desc = 'path/name of surface file' )
499498
500499
501- class dfs (CommandLine ):
502- input_spec = dfsInputSpec
503- output_spec = dfsOutputSpec
500+ class Dfs (CommandLine ):
501+ input_spec = DfsInputSpec
502+ output_spec = DfsOutputSpec
504503 _cmd = 'dfs'
505504
506505 def _format_arg (self , name , spec , value ):
@@ -509,7 +508,7 @@ def _format_arg(self, name, spec, value):
509508 if name == 'specialTessellation' :
510509 threshold = self .inputs .tessellationThreshold
511510 return spec .argstr % {"greater_than" : '' .join (("-gt %f" % threshold )), "less_than" : '' .join (("-lt %f" % threshold )), "equal_to" : '' .join (("-eq %f" % threshold ))}[value ]
512- return super (dfs , self )._format_arg (name , spec , value )
511+ return super (Dfs , self )._format_arg (name , spec , value )
513512
514513 def _gen_filename (self , name ):
515514 exec ('is_user_defined = isdefined(self.inputs.' + name + ')' )
@@ -527,7 +526,7 @@ def _list_outputs(self):
527526 return l_outputs (self )
528527
529528
530- class pialmeshInputSpec (CommandLineInputSpec ):
529+ class PialmeshInputSpec (CommandLineInputSpec ):
531530 inputSurfaceFile = File (mandatory = True , desc = 'input file' , argstr = '-i %s' )
532531 outputSurfaceFile = File (
533532 mandatory = False , desc = 'output file. If unspecified, output file name will be auto generated.' , argstr = '-o %s' , genfile = True )
@@ -555,21 +554,21 @@ class pialmeshInputSpec(CommandLineInputSpec):
555554 laplacianSmoothing = traits .Float (
556555 0.025 , usedefault = True , desc = 'apply Laplacian smoothing' , argstr = '--smooth %f' )
557556 timer = traits .Bool (desc = 'show timing' , argstr = '--timer' )
558- recomputNormals = traits .Bool (
557+ recomputeNormals = traits .Bool (
559558 desc = 'recompute normals at each iteration' , argstr = '--norm' )
560559 normalSmoother = traits .Float (
561560 0.2 , usedefault = True , desc = 'strength of normal smoother.' , argstr = '--nc %f' )
562561 tangentSmoother = traits .Float (
563562 desc = 'strength of tangential smoother.' , argstr = '--tc %f' )
564563
565564
566- class pialmeshOutputSpec (TraitedSpec ):
565+ class PialmeshOutputSpec (TraitedSpec ):
567566 outputSurfaceFile = File (desc = 'path/name of surface file' )
568567
569568
570- class pialmesh (CommandLine ):
571- input_spec = pialmeshInputSpec
572- output_spec = pialmeshOutputSpec
569+ class Pialmesh (CommandLine ):
570+ input_spec = PialmeshInputSpec
571+ output_spec = PialmeshOutputSpec
573572 _cmd = 'pialmesh'
574573
575574 def _gen_filename (self , name ):
@@ -588,7 +587,7 @@ def _list_outputs(self):
588587 return l_outputs (self )
589588
590589
591- class skullfinderInputSpec (CommandLineInputSpec ):
590+ class SkullfinderInputSpec (CommandLineInputSpec ):
592591 inputMRIFile = File (mandatory = True , desc = 'input file' , argstr = '-i %s' )
593592 inputMaskFile = File (
594593 mandatory = True , desc = 'A brain mask file, 8-bit image (0=non-brain, 255=brain)' , argstr = '-m %s' )
@@ -615,13 +614,13 @@ class skullfinderInputSpec(CommandLineInputSpec):
615614 desc = 'perform a final opening operation on the scalp mask' , argstr = '--finalOpening' )
616615
617616
618- class skullfinderOutputSpec (TraitedSpec ):
617+ class SkullfinderOutputSpec (TraitedSpec ):
619618 outputLabelFile = File (desc = 'path/name of label file' )
620619
621620
622- class skullfinder (CommandLine ):
623- input_spec = skullfinderInputSpec
624- output_spec = skullfinderOutputSpec
621+ class Skullfinder (CommandLine ):
622+ input_spec = SkullfinderInputSpec
623+ output_spec = SkullfinderOutputSpec
625624 _cmd = 'skullfinder'
626625
627626 def _gen_filename (self , name ):
@@ -640,7 +639,7 @@ def _list_outputs(self):
640639 return l_outputs (self )
641640
642641
643- class hemisplitInputSpec (CommandLineInputSpec ):
642+ class HemisplitInputSpec (CommandLineInputSpec ):
644643 inputSurfaceFile = File (
645644 mandatory = True , desc = 'input surface' , argstr = '-i %s' )
646645 inputHemisphereLabelFile = File (
@@ -659,16 +658,16 @@ class hemisplitInputSpec(CommandLineInputSpec):
659658 timer = traits .Bool (desc = 'timing function' , argstr = '--timer' )
660659
661660
662- class hemisplitOutputSpec (TraitedSpec ):
661+ class HemisplitOutputSpec (TraitedSpec ):
663662 outputLeftHemisphere = File (desc = 'path/name of left hemisphere' )
664663 outputRightHemisphere = File (desc = 'path/name of right hemisphere' )
665664 outputLeftPialHemisphere = File (desc = 'path/name of left pial hemisphere' )
666665 outputRightPialHemisphere = File (desc = 'path/name of right pial hemisphere' )
667666
668667
669- class hemisplit (CommandLine ):
670- input_spec = hemisplitInputSpec
671- output_spec = hemisplitOutputSpec
668+ class Hemisplit (CommandLine ):
669+ input_spec = HemisplitInputSpec
670+ output_spec = HemisplitOutputSpec
672671 _cmd = 'hemisplit'
673672
674673 def _gen_filename (self , name ):
0 commit comments