Skip to content

Commit b755445

Browse files
author
Michael Joseph
committed
eddy_quad doesn't like = signs
1 parent 460c1bb commit b755445

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

nipype/interfaces/fsl/epi.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ class EddyQuadInputSpec(FSLCommandInputSpec):
12461246
idx_file = File(
12471247
exists=True,
12481248
mandatory=True,
1249-
argstr="--eddyIdx=%s",
1249+
argstr="--eddyIdx %s",
12501250
desc=("File containing indices for all volumes into acquisition "
12511251
"parameters")
12521252
)
@@ -1259,35 +1259,35 @@ class EddyQuadInputSpec(FSLCommandInputSpec):
12591259
mask_file = File(
12601260
exists=True,
12611261
mandatory=True,
1262-
argstr="--mask=%s",
1262+
argstr="--mask %s",
12631263
desc="Binary mask file"
12641264
)
12651265
bval_file = File(
12661266
exists=True,
12671267
mandatory=True,
1268-
argstr="--bvals=%s",
1268+
argstr="--bvals %s",
12691269
desc="b-values file"
12701270
)
12711271
bvec_file = File(
12721272
exists=True,
1273-
argstr="--bvecs=%s",
1273+
argstr="--bvecs %s",
12741274
desc=("b-vectors file - only used when <base_name>.eddy_residuals "
12751275
"file is present")
12761276
)
12771277
output_dir = traits.Str(
12781278
name_template='%s.qc',
12791279
name_source=['base_name'],
1280-
argstr='--output-dir=%s',
1280+
argstr='--output-dir %s',
12811281
desc="Output directory - default = '<base_name>.qc'",
12821282
)
12831283
field = File(
12841284
exists=True,
1285-
argstr='--field=%s',
1285+
argstr='--field %s',
12861286
desc="TOPUP estimated field (in Hz)",
12871287
)
12881288
slice_spec = File(
12891289
exists=True,
1290-
argstr='--slspec=%s',
1290+
argstr='--slspec %s',
12911291
desc="Text file specifying slice/group acquisition",
12921292
)
12931293
verbose = traits.Bool(
@@ -1365,9 +1365,9 @@ class EddyQuad(FSLCommand):
13651365
>>> quad.inputs.field = 'fieldmap_phase_fslprepared.nii'
13661366
>>> quad.inputs.verbose = True
13671367
>>> quad.cmdline
1368-
'eddy_quad eddy_corrected --bvals=bvals.scheme --bvecs=bvecs.scheme \
1369-
--field=fieldmap_phase_fslprepared.nii --eddyIdx=epi_index.txt \
1370-
--mask=epi_mask.nii --output-dir=eddy_corrected.qc --eddyParams=epi_acqp.txt \
1368+
'eddy_quad eddy_corrected --bvals bvals.scheme --bvecs bvecs.scheme \
1369+
--field fieldmap_phase_fslprepared.nii --eddyIdx epi_index.txt \
1370+
--mask epi_mask.nii --output-dir eddy_corrected.qc --eddyParams epi_acqp.txt \
13711371
--verbose'
13721372
>>> res = quad.run() # doctest: +SKIP
13731373

0 commit comments

Comments
 (0)