Skip to content
Snippets Groups Projects
Commit 1754747a authored by Luise Odenthal's avatar Luise Odenthal
Browse files

did the flake8 test on database init

parent fc9bc7b2
Branches
Tags
No related merge requests found
......@@ -466,7 +466,7 @@ database
return toreturn
def denormalise_image(self, image, cmaxminrange):
if not isinstance(image,np.ndarray):
if not isinstance(image, np.ndarray):
raise TypeError('image must be np.array')
if len(image.shape) != 3:
raise Exception('image should be 3D array')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment