Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions nipype/interfaces/spm/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,18 +339,17 @@ def _format_arg(self, opt, spec, val):

if opt in ["in_files", "vdmfile"]:
return scans_for_fname(ensure_list(val))
return super(FieldMap, self)._format_arg(opt, spec, val)
return super(ApplyVDM, self)._format_arg(opt, spec, val)

def _parse_inputs(self):
"""validate spm fieldmap options if set to None ignore"""

einputs = super(ApplyVDM, self)._parse_inputs()

return [{"applymap": einputs[0]}]
return [{"applyvdm": einputs[0]}]

def _list_outputs(self):
outputs = self._outputs().get()
jobtype = self.inputs.jobtype
resliced_all = self.inputs.write_which[0] > 0
resliced_mean = self.inputs.write_which[1] > 0
if resliced_mean:
Expand Down