Skip to content

Commit

Permalink
show an h5 always as image, not label
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkure committed Apr 26, 2023
1 parent a52c8b8 commit 95df4a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions napari_split_dataset/napari_split_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def read_directory(path):
data = data[:, :, :]
add_kwargs = {}

layer_type = "image" # default
layer_type = "image"
return [(data, add_kwargs, layer_type)]


Expand All @@ -59,4 +59,5 @@ def read_hdf5(path):
return None

add_kwargs = {}
return [(data, add_kwargs)]
layer_type = "image"
return [(data, add_kwargs, layer_type)]

0 comments on commit 95df4a3

Please sign in to comment.