We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4798577 commit baf8e45Copy full SHA for baf8e45
niworkflows/interfaces/gradunwarp.py
@@ -65,17 +65,9 @@ class GradUnwarp(SimpleInterface):
65
def _run_interface(self, runtime):
66
67
from gradunwarp.core.gradient_unwarp import GradientUnwarpRunner
68
- if not self.inputs.outfile:
69
- self.inputs.outfile = fname_presuffix(
70
- self.inputs.infile,
71
- suffix='_gradunwarped',
72
- newpath=runtime.cwd
73
- )
74
- print(self.inputs)
75
gur = GradientUnwarpRunner(self.inputs)
76
gur.run()
77
gur.write()
78
- del gur
79
80
cwd = Path(runtime.cwd)
81
self._results["corrected_file"] = str(cwd / self.inputs.outfile)
0 commit comments