Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ywkure committed Feb 16, 2021
1 parent eab1efb commit e3ff90a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
File renamed without changes.
2 changes: 0 additions & 2 deletions napari_split_dataset/_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ def read_directory(path):
data_for_contrast = data[min(2, data.shape[0]-1):min(7, data.shape[0]), :, :, :]
contrast_limits = (np.percentile(data_for_contrast, 0.1), np.percentile(data_for_contrast, 99.9))



data = data.as_dask() # read as a dask array
# optional kwargs for the corresponding viewer.add_* method
add_kwargs = {"contrast_limits": contrast_limits,}
Expand Down

0 comments on commit e3ff90a

Please sign in to comment.