Skip to content

Commit a8c2556

Browse files
STY: Further simplification
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent ac76954 commit a8c2556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/spm/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def _parse_inputs(self):
159159
"""validate spm realign options if set to None ignore"""
160160
einputs = super()._parse_inputs(skip=("mask_threshold", "flags"))
161161
if isdefined(self.inputs.flags):
162-
einputs[0].update(dict(self.inputs.flags.items()))
162+
einputs[0].update(self.inputs.flags)
163163
for sessinfo in einputs[0]["sess"]:
164164
sessinfo["scans"] = scans_for_fnames(
165165
ensure_list(sessinfo["scans"]), keep4d=False

0 commit comments

Comments
 (0)