-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca98874
commit b11fd1f
Showing
6 changed files
with
100 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,22 +5,21 @@ description = "trackastra tracking" | |
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{name = "Martin Weigert"}, | ||
{email = "[email protected]"}, | ||
{name = "Martin Weigert, Benjamin Gallusser"}, | ||
{email = "[email protected], [email protected]"}, | ||
] | ||
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Development Status :: 3 - Alpha", | ||
"Framework :: napari", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Scientific/Engineering :: Image Processing", | ||
] | ||
requires-python = ">=3.9" | ||
requires-python = ">=3.10" | ||
dependencies = [ | ||
"napari", | ||
"numpy", | ||
|
@@ -87,6 +86,7 @@ lint.select = [ | |
"SIM", # flake8-simplify | ||
] | ||
lint.ignore = [ | ||
"F401", | ||
"E501", # line too long. let black handle this | ||
"UP006", "UP007", # type annotation. As using magicgui require runtime type annotation then we disable this. | ||
"SIM117", # flake8-simplify - some of merged with statements are not looking great with black, reanble after drop python 3.9 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
__version__ = "0.0.1" | ||
from ._widget import Tracker | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
import numpy as np | ||
import napari | ||
from trackastra.data import example_data_bacteria | ||
|
||
from napari_trackastra._widget import Tracker | ||
from trackastra.data import test_data_bacteria | ||
|
||
|
||
def test_widget(): | ||
viewer = napari.Viewer() | ||
img, mask = test_data_bacteria() | ||
img, mask = example_data_bacteria() | ||
viewer.add_image(img) | ||
viewer.add_labels(mask) | ||
|
||
viewer.window.add_dock_widget(Tracker(viewer)) | ||
|
||
|
||
if __name__ == "__main__": | ||
test_widget() | ||
|
||
napari.run() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters