Skip to content

Commit baf8e45

Browse files
bpinsardeffigies
andcommitted
Update niworkflows/interfaces/gradunwarp.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 4798577 commit baf8e45

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

niworkflows/interfaces/gradunwarp.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,17 +65,9 @@ class GradUnwarp(SimpleInterface):
6565
def _run_interface(self, runtime):
6666

6767
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)
7568
gur = GradientUnwarpRunner(self.inputs)
7669
gur.run()
7770
gur.write()
78-
del gur
7971

8072
cwd = Path(runtime.cwd)
8173
self._results["corrected_file"] = str(cwd / self.inputs.outfile)

0 commit comments

Comments
 (0)