Merged
Changes from all commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Failed to load files.
Original file line numberDiff line numberDiff line change
Expand Up@@ -337,7 +337,11 @@ class ApplyVDM(SPMCommand):
def _format_arg(self, opt, spec, val):
"""Convert input to appropriate format for spm"""

if opt in ["in_files", "vdmfile"]:
if opt == 'in_files':
return scans_for_fnames(
ensure_list(val), keep4d=False, separate_sessions=False
)
if opt == 'vdmfile':
return scans_for_fname(ensure_list(val))
return super(ApplyVDM, self)._format_arg(opt, spec, val)

Expand Down