File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
nipype/interfaces/mrtrix3 Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -1250,6 +1250,7 @@ def _list_outputs(self):
12501250class MTNormaliseInputSpec (MRTrix3BaseInputSpec ):
12511251 fod_wm = File (
12521252 argstr = "%s" ,
1253+ exists = True ,
12531254 mandatory = False ,
12541255 position = 1 ,
12551256 desc = "input fod of white matter tissue compartment"
@@ -1262,6 +1263,7 @@ class MTNormaliseInputSpec(MRTrix3BaseInputSpec):
12621263 )
12631264 fod_gm = File (
12641265 argstr = "%s" ,
1266+ exists = True ,
12651267 mandatory = False ,
12661268 position = 3 ,
12671269 desc = "input fod of grey matter tissue compartment"
@@ -1272,8 +1274,9 @@ class MTNormaliseInputSpec(MRTrix3BaseInputSpec):
12721274 position = 4 ,
12731275 desc = "output file of grey matter tissue compartment"
12741276 )
1275- fod_tissue_csf = File (
1277+ fod_csf = File (
12761278 argstr = "%s" ,
1279+ exists = True ,
12771280 mandatory = False ,
12781281 position = 5 ,
12791282 desc = "input fod of CSF tissue compartment"
@@ -1284,6 +1287,12 @@ class MTNormaliseInputSpec(MRTrix3BaseInputSpec):
12841287 position = 6 ,
12851288 desc = "output file of CSF tissue compartment 3"
12861289 )
1290+ mask = File (
1291+ argstr = "-mask %s" ,
1292+ exists = True ,
1293+ position = 0 ,
1294+ desc = "input brain mask"
1295+ )
12871296
12881297class MTNormaliseOutputSpec (TraitedSpec ):
12891298 out_file_wm = File (exists = True , desc = "the normalized white matter fod" )
@@ -1307,8 +1316,9 @@ class MTNormalise(CommandLine):
13071316 >>> mtn.inputs.out_file_wm = 'wmfod_norm.mif'
13081317 >>> mtn.inputs.out_file_gm = 'gmfod_norm.mif'
13091318 >>> mtn.inputs.out_file_csf = 'csffod_norm.mif'
1319+ >>> mtn.inputs.mask = 'mask.mif'
13101320 >>> mtn.cmdline
1311- 'mtnormalise wmfod.mif wmfod_norm.mif gmfod.mif gmfod_norm.mif csffod.mif csffod_norm.mif'
1321+ 'mtnormalise -mask mask.mif wmfod.mif wmfod_norm.mif gmfod.mif gmfod_norm.mif csffod.mif csffod_norm.mif'
13121322 >>> mtn.run()
13131323 """
13141324
You can’t perform that action at this time.
0 commit comments