Skip to content
Prev Previous commit
Next Next commit
STY: Apply ruff/Pyflakes rule F523
F523 `.format` call has unused arguments
  • Loading branch information
DimitriPapadopoulos committed Oct 6, 2024
commit 2bd015b1ae58057367783d49aaecbcce36cbc6b6
2 changes: 1 addition & 1 deletion nipype/pipeline/engine/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ def _run_interface(self, execute=True, updatehash=False):
)
)
except Exception as msg:
result.runtime.stderr = "%s\n\n%s".format(
result.runtime.stderr = "{}\n\n{}".format(
getattr(result.runtime, "stderr", ""), msg
)
_save_resultfile(
Expand Down