Skip to content

Commit

Permalink
Merge pull request #3255 from servoz/master
Browse files Browse the repository at this point in the history
SPM SliceTiming must accept either Int or float for ref_slice and sli…
  • Loading branch information
effigies authored Oct 1, 2020
2 parents 9a0fda0 + 3e2f458 commit e9217c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nipype/interfaces/spm/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,14 @@ class SliceTimingInputSpec(SPMCommandInputSpec):
mandatory=True,
)
slice_order = traits.List(
traits.Float(),
traits.Either(traits.Int(),traits.Float()),
field="so",
desc=("1-based order or onset (in ms) in which slices are acquired"),
mandatory=True,
)
ref_slice = traits.Int(
ref_slice = traits.Either(
traits.Int(),
traits.Float(),
field="refslice",
desc="1-based Number of the reference slice or "
"reference time point if slice_order is in "
Expand Down

0 comments on commit e9217c2

Please sign in to comment.