cellfinder 1.3.1__py3-none-any.whl → 1.3.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cellfinder might be problematic. Click here for more details.
- cellfinder/core/classify/classify.py +8 -0
- cellfinder/napari/curation.py +2 -2
- {cellfinder-1.3.1.dist-info → cellfinder-1.3.3.dist-info}/METADATA +22 -22
- {cellfinder-1.3.1.dist-info → cellfinder-1.3.3.dist-info}/RECORD +8 -8
- {cellfinder-1.3.1.dist-info → cellfinder-1.3.3.dist-info}/WHEEL +1 -1
- {cellfinder-1.3.1.dist-info → cellfinder-1.3.3.dist-info}/LICENSE +0 -0
- {cellfinder-1.3.1.dist-info → cellfinder-1.3.3.dist-info}/entry_points.txt +0 -0
- {cellfinder-1.3.1.dist-info → cellfinder-1.3.3.dist-info}/top_level.txt +0 -0
|
@@ -68,6 +68,14 @@ def main(
|
|
|
68
68
|
workers=workers,
|
|
69
69
|
)
|
|
70
70
|
|
|
71
|
+
if trained_model and trained_model.suffix == ".h5":
|
|
72
|
+
print(
|
|
73
|
+
"Weights provided in place of the model, "
|
|
74
|
+
"loading weights into default model."
|
|
75
|
+
)
|
|
76
|
+
model_weights = trained_model
|
|
77
|
+
trained_model = None
|
|
78
|
+
|
|
71
79
|
model = get_model(
|
|
72
80
|
existing_model=trained_model,
|
|
73
81
|
model_weights=model_weights,
|
cellfinder/napari/curation.py
CHANGED
|
@@ -113,7 +113,7 @@ class CurationWidget(QWidget):
|
|
|
113
113
|
layer_names = [
|
|
114
114
|
layer.name
|
|
115
115
|
for layer in self.viewer.layers
|
|
116
|
-
if
|
|
116
|
+
if isinstance(layer, layer_type)
|
|
117
117
|
]
|
|
118
118
|
|
|
119
119
|
if layer_names:
|
|
@@ -329,7 +329,7 @@ class CurationWidget(QWidget):
|
|
|
329
329
|
|
|
330
330
|
if len(self.viewer.layers.selection) == 1:
|
|
331
331
|
layer = list(self.viewer.layers.selection)[0]
|
|
332
|
-
if
|
|
332
|
+
if isinstance(layer, napari.layers.Points):
|
|
333
333
|
if len(layer.data) > 0:
|
|
334
334
|
if point_type == "cell":
|
|
335
335
|
destination_layer = self.training_data_cell_layer
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cellfinder
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.3
|
|
4
4
|
Summary: Automated 3D cell detection in large microscopy images
|
|
5
5
|
Author-email: "Adam Tyson, Christian Niedworok, Charly Rousseau" <code@adamltyson.com>
|
|
6
6
|
License: BSD-3-Clause
|
|
@@ -23,37 +23,37 @@ Classifier: Topic :: Scientific/Engineering :: Image Recognition
|
|
|
23
23
|
Requires-Python: >=3.10
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
-
Requires-Dist: brainglobe-utils
|
|
27
|
-
Requires-Dist: brainglobe-napari-io
|
|
26
|
+
Requires-Dist: brainglobe-utils>=0.5.0
|
|
27
|
+
Requires-Dist: brainglobe-napari-io>=0.3.4
|
|
28
28
|
Requires-Dist: dask[array]
|
|
29
|
-
Requires-Dist: fancylog
|
|
29
|
+
Requires-Dist: fancylog>=0.0.7
|
|
30
30
|
Requires-Dist: natsort
|
|
31
31
|
Requires-Dist: numba
|
|
32
32
|
Requires-Dist: numpy
|
|
33
33
|
Requires-Dist: scikit-image
|
|
34
34
|
Requires-Dist: scikit-learn
|
|
35
|
-
Requires-Dist: keras
|
|
36
|
-
Requires-Dist: torch
|
|
35
|
+
Requires-Dist: keras==3.5.0
|
|
36
|
+
Requires-Dist: torch>=2.1.0
|
|
37
37
|
Requires-Dist: tifffile
|
|
38
38
|
Requires-Dist: tqdm
|
|
39
39
|
Provides-Extra: dev
|
|
40
|
-
Requires-Dist: black
|
|
41
|
-
Requires-Dist: pre-commit
|
|
42
|
-
Requires-Dist: pyinstrument
|
|
43
|
-
Requires-Dist: pytest-cov
|
|
44
|
-
Requires-Dist: pytest-mock
|
|
45
|
-
Requires-Dist: pytest-qt
|
|
46
|
-
Requires-Dist: pytest-timeout
|
|
47
|
-
Requires-Dist: pytest
|
|
48
|
-
Requires-Dist: tox
|
|
40
|
+
Requires-Dist: black; extra == "dev"
|
|
41
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
42
|
+
Requires-Dist: pyinstrument; extra == "dev"
|
|
43
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
44
|
+
Requires-Dist: pytest-mock; extra == "dev"
|
|
45
|
+
Requires-Dist: pytest-qt; extra == "dev"
|
|
46
|
+
Requires-Dist: pytest-timeout; extra == "dev"
|
|
47
|
+
Requires-Dist: pytest; extra == "dev"
|
|
48
|
+
Requires-Dist: tox; extra == "dev"
|
|
49
49
|
Provides-Extra: napari
|
|
50
|
-
Requires-Dist: brainglobe-napari-io
|
|
51
|
-
Requires-Dist: magicgui
|
|
52
|
-
Requires-Dist: napari-ndtiffs
|
|
53
|
-
Requires-Dist: napari-plugin-engine
|
|
54
|
-
Requires-Dist: napari[pyqt5]
|
|
55
|
-
Requires-Dist: pooch
|
|
56
|
-
Requires-Dist: qtpy
|
|
50
|
+
Requires-Dist: brainglobe-napari-io; extra == "napari"
|
|
51
|
+
Requires-Dist: magicgui; extra == "napari"
|
|
52
|
+
Requires-Dist: napari-ndtiffs; extra == "napari"
|
|
53
|
+
Requires-Dist: napari-plugin-engine>=0.1.4; extra == "napari"
|
|
54
|
+
Requires-Dist: napari[pyqt5]; extra == "napari"
|
|
55
|
+
Requires-Dist: pooch>=1; extra == "napari"
|
|
56
|
+
Requires-Dist: qtpy; extra == "napari"
|
|
57
57
|
|
|
58
58
|
[](https://pypi.org/project/cellfinder)
|
|
59
59
|
[](https://pypi.org/project/cellfinder)
|
|
@@ -5,7 +5,7 @@ cellfinder/core/main.py,sha256=t2mkq6iieEytbPckehBB43juwN5E-vhzstLSs620vdM,3625
|
|
|
5
5
|
cellfinder/core/types.py,sha256=lTqWE4v0SMM0qLAZJdyAzqV1nLgDtobEpglNJcXt160,106
|
|
6
6
|
cellfinder/core/classify/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
cellfinder/core/classify/augment.py,sha256=8dMbM7KhimM6NMgdMC53oHoCfYj1CIB-h3Yk8CZAxPw,6321
|
|
8
|
-
cellfinder/core/classify/classify.py,sha256=
|
|
8
|
+
cellfinder/core/classify/classify.py,sha256=uhvBGp3uFRp6uZeUtAIIS4BbIotQzZ_rql2zT_l-9Ok,3523
|
|
9
9
|
cellfinder/core/classify/cube_generator.py,sha256=jC5aogTVy213PHouViSR9CgKkuOks3yk6csQC5kRoOE,17125
|
|
10
10
|
cellfinder/core/classify/resnet.py,sha256=vGa85y_NcQnOXwAt5EtatLx5mrO8IoShCcNKtJ5-EFg,10034
|
|
11
11
|
cellfinder/core/classify/tools.py,sha256=s5PEKAsZVbVuoferZ_nqMUM0f2bV_8WEKsdKe3SXEuE,2560
|
|
@@ -39,7 +39,7 @@ cellfinder/core/tools/tools.py,sha256=G8oDGNRuWkzEJDnnC4r3SNGgpVbqbelCZR5ODk9JRz
|
|
|
39
39
|
cellfinder/core/train/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
40
|
cellfinder/core/train/train_yml.py,sha256=9QXv2wk24G8hYskMnBij7OngEELUWySK2fH4NFbYWw4,13260
|
|
41
41
|
cellfinder/napari/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
|
-
cellfinder/napari/curation.py,sha256=
|
|
42
|
+
cellfinder/napari/curation.py,sha256=Pfif12RUIMExxPuIp9U0mW5-4QycciDlkVE8_9UMgpY,21455
|
|
43
43
|
cellfinder/napari/input_container.py,sha256=tkm0dkPt7kSL8Xkvs1fh8M6vKWw57QLIt_wv74HFkGk,2150
|
|
44
44
|
cellfinder/napari/napari.yaml,sha256=WMR1CIAmYIVyQngbdbomTRZLvlDbb6LxsXsvTRClQnE,921
|
|
45
45
|
cellfinder/napari/sample_data.py,sha256=oUST23q09MM8dxHbUCmO0AjtXG6OlR_32LLqP0EU2UA,732
|
|
@@ -51,9 +51,9 @@ cellfinder/napari/detect/thread_worker.py,sha256=PWM3OE-FpK-dpdhaE_Gi-2lD3u8sL-S
|
|
|
51
51
|
cellfinder/napari/train/__init__.py,sha256=xo4CK-DvSecInGEc2ohcTgQYlH3iylFnGvKTCoq2WkI,35
|
|
52
52
|
cellfinder/napari/train/train.py,sha256=zJY7zKcLqDTDtD76thmbwViEU4tTFCmXZze-zHsTpoo,5941
|
|
53
53
|
cellfinder/napari/train/train_containers.py,sha256=1wZ_GPe7B5XsLYs5XIx4m8GMw5KeVhg6SchhPtXu4V8,4386
|
|
54
|
-
cellfinder-1.3.
|
|
55
|
-
cellfinder-1.3.
|
|
56
|
-
cellfinder-1.3.
|
|
57
|
-
cellfinder-1.3.
|
|
58
|
-
cellfinder-1.3.
|
|
59
|
-
cellfinder-1.3.
|
|
54
|
+
cellfinder-1.3.3.dist-info/LICENSE,sha256=Tw8iMytIDXLSmcIUsbQmRWojstl9yOWsPCx6ZT6dZLY,1564
|
|
55
|
+
cellfinder-1.3.3.dist-info/METADATA,sha256=27H5g4lHvr3tyLQNPD7H3OnqUN2Y_LZFNOB15M9gS5s,7074
|
|
56
|
+
cellfinder-1.3.3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
57
|
+
cellfinder-1.3.3.dist-info/entry_points.txt,sha256=cKKjU8GPiN-TRelG2sT2JCKAcB9XDCjP6g9atE9pSoY,247
|
|
58
|
+
cellfinder-1.3.3.dist-info/top_level.txt,sha256=jyTQzX-tDjbsMr6s-E71Oy0IKQzmHTXSk4ZhpG5EDSE,11
|
|
59
|
+
cellfinder-1.3.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|