Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
napari-segment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andrey ARISTOV
napari-segment
Commits
c6496d43
Commit
c6496d43
authored
3 years ago
by
Andrey Aristov
Browse files
Options
Downloads
Patches
Plain Diff
fix tests
parent
58fc8405
Branches
main
Branches containing commit
Tags
v0.1.1
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
setup.cfg
+23
-20
23 additions, 20 deletions
setup.cfg
src/napari_segment/_reader.py
+4
-1
4 additions, 1 deletion
src/napari_segment/_reader.py
with
28 additions
and
21 deletions
.gitignore
+
1
−
0
View file @
c6496d43
...
@@ -83,3 +83,4 @@ venv/
...
@@ -83,3 +83,4 @@ venv/
# written by setuptools_scm
# written by setuptools_scm
**/_version.py
**/_version.py
bin*
This diff is collapsed.
Click to expand it.
setup.cfg
+
23
−
20
View file @
c6496d43
[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
This diff is collapsed.
Click to expand it.
src/napari_segment/_reader.py
+
4
−
1
View file @
c6496d43
...
@@ -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
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment