Skip to content

Commit

Permalink
sty: black these files
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Nov 26, 2020
1 parent f7ccfc5 commit 42bc9ca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sdcflows/interfaces/fmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,11 @@ def _run_interface(self, runtime):
return runtime

self._results["out_file"] = fname_presuffix(
self.inputs.in_file, suffix="_Hz", newpath=runtime.cwd)
self.inputs.in_file, suffix="_Hz", newpath=runtime.cwd
)
img = nb.load(self.inputs.in_file)
data = np.asanyarray(img.dataobj) / (2.0 * np.pi)
img.__class__(data, img.affine, img.header).to_filename(self._results["out_file"])
img.__class__(data, img.affine, img.header).to_filename(
self._results["out_file"]
)
return runtime

0 comments on commit 42bc9ca

Please sign in to comment.