Skip to content
Snippets Groups Projects
Commit 54650e88 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

RF: No need for import inside function as numpy is already being imported at

the top-level
parent d1400762
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ from pathlib import Path
from typing import Union
import numpy as np
import numpy.linalg as npla
import nibabel as nib
import nibabel.fileslice as fileslice
......@@ -456,8 +457,6 @@ class Nifti(notifier.Notifier, meta.Meta):
:meth:`isNeurological` method.
"""
import numpy.linalg as npla
affines = {}
shape = list(shape[ :3])
pixdim = list(pixdim[:3])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment