Skip to content

Commit a9ce73b

Browse files
committed
fix style
1 parent 9491806 commit a9ce73b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

nibabel/cmdline/conform.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
from pathlib import Path
1616
import sys
1717

18-
import numpy as np
19-
2018
from nibabel import __version__
2119
from nibabel.loadsave import load
2220
from nibabel.processing import conform
@@ -56,7 +54,8 @@ def main(args=None):
5654
if not kwargs["force"] and Path(kwargs["outfile"]).exists():
5755
raise FileExistsError("Output file exists: {}".format(kwargs["outfile"]))
5856

59-
out_img = conform(from_img=from_img,
57+
out_img = conform(
58+
from_img=from_img,
6059
out_shape=kwargs["out_shape"],
6160
voxel_size=kwargs["voxel_size"],
6261
order=3,

nibabel/processing.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
spnd, _, _ = optional_package('scipy.ndimage')
2323

2424
from .affines import AffineError, to_matvec, from_matvec, append_diag
25-
from .funcs import as_closest_canonical
2625
from .spaces import vox2out_vox
2726
from .nifti1 import Nifti1Header, Nifti1Image
2827
from .orientations import axcodes2ornt

0 commit comments

Comments
 (0)