We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90addc0 commit 3c605f3Copy full SHA for 3c605f3
tiatoolbox/wsicore/wsireader.py
@@ -94,7 +94,7 @@ def open(input_img):
94
input_img = np.load(input_img)
95
wsi = VirtualWSIReader(input_img)
96
97
- if suffixes[-2:] in ([".ome", ".tiff"],):
+ elif suffixes[-2:] in ([".ome", ".tiff"],):
98
wsi = TIFFWSIReader(input_img)
99
100
elif suffixes[-1] in (".jpg", ".png", ".tif"):
@@ -117,6 +117,7 @@ def open(input_img):
117
wsi = input_img
118
else:
119
raise TypeError("Please input correct image path or an ndarray image.")
120
+
121
return wsi
122
123
def __init__(self, input_img):
0 commit comments