Skip to content

Commit

Permalink
specified splitdataset exception
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkure committed Feb 17, 2021
1 parent 7001df3 commit 709058f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napari_split_dataset/_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def read_directory(path):

try:
data = SplitDataset(path)
except:
except (IndexError, KeyError, ValueError):
return None

if len(data.shape) > 3:
Expand Down

0 comments on commit 709058f

Please sign in to comment.