We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c328eb commit a3c4d07Copy full SHA for a3c4d07
src/napari_mlarray/_reader.py
@@ -72,6 +72,6 @@ def reader_function(path):
72
# handle both a string and a list of strings
73
paths = [path] if isinstance(path, str) else path
74
# load all files into array
75
- mlarrays = [MLArray().open(_path) for _path in paths]
+ mlarrays = [MLArray.open(_path) for _path in paths]
76
layer_data = [(mlarray, {"affine": mlarray.affine, "metadata": mlarray.meta.to_dict()}, "labels" if mlarray.meta.is_seg == True else "image") for mlarray in mlarrays]
77
return layer_data
0 commit comments