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):
1250
1250
class MTNormaliseInputSpec (MRTrix3BaseInputSpec ):
1251
1251
fod_wm = File (
1252
1252
argstr = "%s" ,
1253
+ exists = True ,
1253
1254
mandatory = False ,
1254
1255
position = 1 ,
1255
1256
desc = "input fod of white matter tissue compartment"
@@ -1262,6 +1263,7 @@ class MTNormaliseInputSpec(MRTrix3BaseInputSpec):
1262
1263
)
1263
1264
fod_gm = File (
1264
1265
argstr = "%s" ,
1266
+ exists = True ,
1265
1267
mandatory = False ,
1266
1268
position = 3 ,
1267
1269
desc = "input fod of grey matter tissue compartment"
@@ -1272,8 +1274,9 @@ class MTNormaliseInputSpec(MRTrix3BaseInputSpec):
1272
1274
position = 4 ,
1273
1275
desc = "output file of grey matter tissue compartment"
1274
1276
)
1275
- fod_tissue_csf = File (
1277
+ fod_csf = File (
1276
1278
argstr = "%s" ,
1279
+ exists = True ,
1277
1280
mandatory = False ,
1278
1281
position = 5 ,
1279
1282
desc = "input fod of CSF tissue compartment"
@@ -1284,6 +1287,12 @@ class MTNormaliseInputSpec(MRTrix3BaseInputSpec):
1284
1287
position = 6 ,
1285
1288
desc = "output file of CSF tissue compartment 3"
1286
1289
)
1290
+ mask = File (
1291
+ argstr = "-mask %s" ,
1292
+ exists = True ,
1293
+ position = 0 ,
1294
+ desc = "input brain mask"
1295
+ )
1287
1296
1288
1297
class MTNormaliseOutputSpec (TraitedSpec ):
1289
1298
out_file_wm = File (exists = True , desc = "the normalized white matter fod" )
@@ -1307,8 +1316,9 @@ class MTNormalise(CommandLine):
1307
1316
>>> mtn.inputs.out_file_wm = 'wmfod_norm.mif'
1308
1317
>>> mtn.inputs.out_file_gm = 'gmfod_norm.mif'
1309
1318
>>> mtn.inputs.out_file_csf = 'csffod_norm.mif'
1319
+ >>> mtn.inputs.mask = 'mask.mif'
1310
1320
>>> 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'
1312
1322
>>> mtn.run()
1313
1323
"""
1314
1324
You can’t perform that action at this time.
0 commit comments