Skip to content

Commit b8e2b9b

Browse files
effigiesrichford
andauthored
Apply minor edits from code review
Co-Authored-By: richford <[email protected]>
1 parent 321b57e commit b8e2b9b

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

nipype/interfaces/fsl/epi.py

+3-9
Original file line numberDiff line numberDiff line change
@@ -1281,15 +1281,16 @@ class EddyQuadInputSpec(FSLCommandInputSpec):
12811281
desc="Output directory - default = '<base_name>.qc'",
12821282
)
12831283
field = File(
1284+
exists=True,
12841285
argstr='--field=%s',
12851286
desc="TOPUP estimated field (in Hz)",
12861287
)
12871288
slice_spec = File(
1289+
exists=True,
12881290
argstr='--slspec=%s',
12891291
desc="Text file specifying slice/group acquisition",
12901292
)
12911293
verbose = traits.Bool(
1292-
False,
12931294
argstr='--verbose',
12941295
desc="Display debug messages",
12951296
)
@@ -1301,45 +1302,38 @@ class EddyQuadOutputSpec(TraitedSpec):
13011302
desc=("Single subject database containing quality metrics and data "
13021303
"info.")
13031304
)
1304-
13051305
out_qc_pdf = File(
13061306
exists=True,
13071307
desc="Single subject QC report."
13081308
)
1309-
13101309
out_avg_b_png = traits.List(
13111310
File(exists=True),
13121311
desc=("Image showing mid-sagittal, -coronal and -axial slices of "
13131312
"each averaged b-shell volume.")
13141313
)
1315-
13161314
out_avg_b0_pe_png = traits.List(
13171315
File(exists=True),
13181316
desc=("Image showing mid-sagittal, -coronal and -axial slices of "
13191317
"each averaged pe-direction b0 volume. Generated when using "
13201318
"the -f option.")
13211319
)
1322-
13231320
out_cnr_png = traits.List(
13241321
File(exists=True),
13251322
desc=("Image showing mid-sagittal, -coronal and -axial slices of "
13261323
"each b-shell CNR volume. Generated when CNR maps are "
13271324
"available.")
13281325
)
1329-
13301326
out_vdm_png = File(
13311327
exists=True,
13321328
desc=("Image showing mid-sagittal, -coronal and -axial slices of "
13331329
"the voxel displacement map. Generated when using the -f "
13341330
"option.")
13351331
)
1336-
13371332
out_residuals = File(
13381333
exists=True,
13391334
desc=("Text file containing the volume-wise mask-averaged squared "
13401335
"residuals. Generated when residual maps are available.")
13411336
)
1342-
13431337
out_clean_volumes = File(
13441338
exists=True,
13451339
desc=("Text file containing a list of clean volumes, based on "
@@ -1370,7 +1364,7 @@ class EddyQuad(FSLCommand):
13701364
>>> quad.inputs.output_dir = 'eddy_corrected.qc'
13711365
>>> quad.inputs.field = 'fieldmap_phase_fslprepared.nii'
13721366
>>> quad.inputs.verbose = True
1373-
>>> quad.cmdline # doctest: +ELLIPSIS
1367+
>>> quad.cmdline
13741368
'eddy_quad eddy_corrected --bvals=bvals.scheme --bvecs=bvecs.scheme \
13751369
--field=fieldmap_phase_fslprepared.nii --eddyIdx=epi_index.txt \
13761370
--mask=epi_mask.nii --output-dir=eddy_corrected.qc --eddyParams=epi_acqp.txt \

0 commit comments

Comments
 (0)