Skip to content

Commit 46608c5

Browse files
josephmjeeffigies
andcommitted
Apply suggestions from code review
Co-Authored-By: Chris Markiewicz <[email protected]>
1 parent d7d1a36 commit 46608c5

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

nipype/interfaces/fsl/epi.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -603,9 +603,13 @@ class EddyInputSpec(FSLCommandInputSpec):
603603
in_topup_movpar = File(
604604
exists=True,
605605
requires=["in_topup_fieldcoef"],
606-
desc="Topup results file containing the movement parameters",
606+
desc="Topup results file containing the movement parameters (movpar.txt)",
607+
)
608+
field = File(
609+
exists=True,
610+
argstr="--field=%s",
611+
desc=("Non-topup derived fieldmap scaled in Hz"),
607612
)
608-
field = File(argstr="--field=%s", desc=("Non-topup derived fieldmap scaled in Hz"))
609613
field_mat = File(
610614
exists=True,
611615
argstr="--field_mat=%s",
@@ -725,12 +729,14 @@ class EddyInputSpec(FSLCommandInputSpec):
725729
requires=["repol"],
726730
min_ver="5.0.10",
727731
)
728-
mb = traits.Int(argstr="--mb=%s", desc="Multi-band factor", min_ver="5.0.10")
729-
mb_offs = traits.Enum(
732+
multiband_factor = traits.Int(
733+
argstr="--mb=%s", desc="Multi-band factor", min_ver="5.0.10"
734+
)
735+
multiband_offset = traits.Enum(
730736
0,
731737
1,
732738
-1,
733-
argstr="--mb_offs=%s",
739+
argstr="--mb_offs=%d",
734740
desc=(
735741
"Multi-band offset (-1 if bottom slice removed, 1 if " "top slice removed"
736742
),
@@ -744,7 +750,7 @@ class EddyInputSpec(FSLCommandInputSpec):
744750
requires=["use_cuda"],
745751
min_ver="5.0.11",
746752
)
747-
s2v_niter = traits.Int(
753+
slice2vol_iterations = traits.Int(
748754
argstr="--s2v_niter=%s",
749755
desc="Number of iterations for slice-to-vol",
750756
requires=["mporder"],

0 commit comments

Comments
 (0)