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
No related branches found
No related tags found
No related merge requests found
...@@ -466,7 +466,7 @@ database ...@@ -466,7 +466,7 @@ database
return toreturn return toreturn
def denormalise_image(self, image, cmaxminrange): 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') raise TypeError('image must be np.array')
if len(image.shape) != 3: if len(image.shape) != 3:
raise Exception('image should be 3D array') raise Exception('image should be 3D array')
......
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