cellfinder 1.3.1__py3-none-any.whl → 1.3.2__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.
@@ -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 type(layer) == layer_type
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 type(layer) == napari.layers.Points:
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.1
3
+ Version: 1.3.2
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 >=0.5.0
27
- Requires-Dist: brainglobe-napari-io >=0.3.4
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 >=0.0.7
29
+ Requires-Dist: fancylog>=0.0.7
30
30
  Requires-Dist: natsort
31
31
  Requires-Dist: numba
32
- Requires-Dist: numpy
32
+ Requires-Dist: numpy<2
33
33
  Requires-Dist: scikit-image
34
34
  Requires-Dist: scikit-learn
35
- Requires-Dist: keras >=3.0.0
36
- Requires-Dist: torch >=2.1.0
35
+ Requires-Dist: keras>=3.0.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 ; 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'
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 ; 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'
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
  [![Python Version](https://img.shields.io/pypi/pyversions/cellfinder.svg)](https://pypi.org/project/cellfinder)
59
59
  [![PyPI](https://img.shields.io/pypi/v/cellfinder.svg)](https://pypi.org/project/cellfinder)
@@ -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=nbxCwY2bhEPM15Wf3S_Ff8qGdLSWojr4X48mmAJqD3U,21447
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.1.dist-info/LICENSE,sha256=Tw8iMytIDXLSmcIUsbQmRWojstl9yOWsPCx6ZT6dZLY,1564
55
- cellfinder-1.3.1.dist-info/METADATA,sha256=tdKnKSv42LLsTm89qJdCx0EuRLSDj8XN1gzl8XuB8cM,7097
56
- cellfinder-1.3.1.dist-info/WHEEL,sha256=-oYQCr74JF3a37z2nRlQays_SX2MqOANoqVjBBAP2yE,91
57
- cellfinder-1.3.1.dist-info/entry_points.txt,sha256=cKKjU8GPiN-TRelG2sT2JCKAcB9XDCjP6g9atE9pSoY,247
58
- cellfinder-1.3.1.dist-info/top_level.txt,sha256=jyTQzX-tDjbsMr6s-E71Oy0IKQzmHTXSk4ZhpG5EDSE,11
59
- cellfinder-1.3.1.dist-info/RECORD,,
54
+ cellfinder-1.3.2.dist-info/LICENSE,sha256=Tw8iMytIDXLSmcIUsbQmRWojstl9yOWsPCx6ZT6dZLY,1564
55
+ cellfinder-1.3.2.dist-info/METADATA,sha256=ZFTUiun0PsZyqoFqEE-FySxAPzYDt4VhHvn5T3nbICE,7076
56
+ cellfinder-1.3.2.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
57
+ cellfinder-1.3.2.dist-info/entry_points.txt,sha256=cKKjU8GPiN-TRelG2sT2JCKAcB9XDCjP6g9atE9pSoY,247
58
+ cellfinder-1.3.2.dist-info/top_level.txt,sha256=jyTQzX-tDjbsMr6s-E71Oy0IKQzmHTXSk4ZhpG5EDSE,11
59
+ cellfinder-1.3.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (71.0.3)
2
+ Generator: setuptools (72.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5