@@ -1281,15 +1281,16 @@ class EddyQuadInputSpec(FSLCommandInputSpec):
1281
1281
desc = "Output directory - default = '<base_name>.qc'" ,
1282
1282
)
1283
1283
field = File (
1284
+ exists = True ,
1284
1285
argstr = '--field=%s' ,
1285
1286
desc = "TOPUP estimated field (in Hz)" ,
1286
1287
)
1287
1288
slice_spec = File (
1289
+ exists = True ,
1288
1290
argstr = '--slspec=%s' ,
1289
1291
desc = "Text file specifying slice/group acquisition" ,
1290
1292
)
1291
1293
verbose = traits .Bool (
1292
- False ,
1293
1294
argstr = '--verbose' ,
1294
1295
desc = "Display debug messages" ,
1295
1296
)
@@ -1301,45 +1302,38 @@ class EddyQuadOutputSpec(TraitedSpec):
1301
1302
desc = ("Single subject database containing quality metrics and data "
1302
1303
"info." )
1303
1304
)
1304
-
1305
1305
out_qc_pdf = File (
1306
1306
exists = True ,
1307
1307
desc = "Single subject QC report."
1308
1308
)
1309
-
1310
1309
out_avg_b_png = traits .List (
1311
1310
File (exists = True ),
1312
1311
desc = ("Image showing mid-sagittal, -coronal and -axial slices of "
1313
1312
"each averaged b-shell volume." )
1314
1313
)
1315
-
1316
1314
out_avg_b0_pe_png = traits .List (
1317
1315
File (exists = True ),
1318
1316
desc = ("Image showing mid-sagittal, -coronal and -axial slices of "
1319
1317
"each averaged pe-direction b0 volume. Generated when using "
1320
1318
"the -f option." )
1321
1319
)
1322
-
1323
1320
out_cnr_png = traits .List (
1324
1321
File (exists = True ),
1325
1322
desc = ("Image showing mid-sagittal, -coronal and -axial slices of "
1326
1323
"each b-shell CNR volume. Generated when CNR maps are "
1327
1324
"available." )
1328
1325
)
1329
-
1330
1326
out_vdm_png = File (
1331
1327
exists = True ,
1332
1328
desc = ("Image showing mid-sagittal, -coronal and -axial slices of "
1333
1329
"the voxel displacement map. Generated when using the -f "
1334
1330
"option." )
1335
1331
)
1336
-
1337
1332
out_residuals = File (
1338
1333
exists = True ,
1339
1334
desc = ("Text file containing the volume-wise mask-averaged squared "
1340
1335
"residuals. Generated when residual maps are available." )
1341
1336
)
1342
-
1343
1337
out_clean_volumes = File (
1344
1338
exists = True ,
1345
1339
desc = ("Text file containing a list of clean volumes, based on "
@@ -1370,7 +1364,7 @@ class EddyQuad(FSLCommand):
1370
1364
>>> quad.inputs.output_dir = 'eddy_corrected.qc'
1371
1365
>>> quad.inputs.field = 'fieldmap_phase_fslprepared.nii'
1372
1366
>>> quad.inputs.verbose = True
1373
- >>> quad.cmdline # doctest: +ELLIPSIS
1367
+ >>> quad.cmdline
1374
1368
'eddy_quad eddy_corrected --bvals=bvals.scheme --bvecs=bvecs.scheme \
1375
1369
--field=fieldmap_phase_fslprepared.nii --eddyIdx=epi_index.txt \
1376
1370
--mask=epi_mask.nii --output-dir=eddy_corrected.qc --eddyParams=epi_acqp.txt \
0 commit comments