Skip to content

Commit 4c1b42c

Browse files
effigiesmgxd
andauthored
Apply suggestions from code review
Co-authored-by: Mathias Goncalves <[email protected]>
1 parent a5416b2 commit 4c1b42c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdcflows/interfaces/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def _run_interface(self, runtime):
186186
target = self.inputs.target_orientation.upper()
187187
if not all(code in "RASLPI" for code in target):
188188
raise ValueError(
189-
"Invalid orientation code {self.inputs.target_orientation}"
189+
f"Invalid orientation code {self.inputs.target_orientation}"
190190
)
191191

192192
img = nb.load(self.inputs.in_file)
@@ -201,6 +201,7 @@ def _run_interface(self, runtime):
201201
out_file=self.inputs.in_file,
202202
pe_dir=self.inputs.pe_dir,
203203
)
204+
return runtime
204205

205206
reoriented = img.as_reoriented(img2target)
206207

0 commit comments

Comments
 (0)