Skip to content
Snippets Groups Projects
Commit c6496d43 authored by Andrey Aristov's avatar Andrey Aristov
Browse files

fix tests

parent 58fc8405
Branches main
Tags v0.1.1
No related merge requests found
...@@ -83,3 +83,4 @@ venv/ ...@@ -83,3 +83,4 @@ venv/
# written by setuptools_scm # written by setuptools_scm
**/_version.py **/_version.py
bin*
[metadata] [metadata]
name = napari-segment name = napari_segment
author = Andrey Aristov
author_email = aaristov@pasteur.fr
url = https://github.com/aaristov/napari-segment
license = BSD-3-Clause
description = Segment organoids and measure intensities description = Segment organoids and measure intensities
long_description = file: README.md long_description = file: README.md
long_description_content_type = text/markdown long_description_content_type = text/markdown
url = https://github.com/aaristov/napari-segment
author = Andrey Aristov
author_email = aaristov@pasteur.fr
license = BSD-3-Clause
license_file = LICENSE
classifiers = classifiers =
Development Status :: 2 - Pre-Alpha Development Status :: 2 - Pre-Alpha
Intended Audience :: Developers
Framework :: napari Framework :: napari
Topic :: Software Development :: Testing Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python Programming Language :: Python
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.10
Operating System :: OS Independent Topic :: Software Development :: Testing
License :: OSI Approved :: BSD License
project_urls = project_urls =
Bug Tracker = https://github.com/aaristov/napari-segment/issues Bug Tracker = https://github.com/aaristov/napari-segment/issues
Documentation = https://github.com/aaristov/napari-segment#README.md Documentation = https://github.com/aaristov/napari-segment#README.md
...@@ -28,22 +29,24 @@ project_urls = ...@@ -28,22 +29,24 @@ project_urls =
[options] [options]
packages = find: packages = find:
include_package_data = True
python_requires = >=3.8
package_dir =
=src
setup_requires = setuptools_scm
# add your package requirements here
install_requires = install_requires =
nd2 nd2
numpy numpy
scikit-image
zarr
python_requires = >=3.8
include_package_data = True
package_dir =
=src
setup_requires =
setuptools-scm
[options.packages.find] [options.packages.find]
where = src where = src
[options.package_data]
* = *.yaml
[options.entry_points] [options.entry_points]
napari.manifest = napari.manifest =
napari-segment = napari_segment:napari.yaml napari-segment = napari_segment:napari.yaml
[options.package_data]
* = *.yaml
...@@ -41,8 +41,11 @@ def napari_get_reader(path): ...@@ -41,8 +41,11 @@ def napari_get_reader(path):
return read_zarr return read_zarr
# otherwise we return the *function* that can read ``path``. # otherwise we return the *function* that can read ``path``.
if path.endswith(".npy"):
return reader_function return reader_function
return None
def read_zarr(path): def read_zarr(path):
print(f"reading {path}") print(f"reading {path}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment