cellfinder 1.5.0__tar.gz → 1.6.0__tar.gz

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.

Files changed (72) hide show
  1. {cellfinder-1.5.0 → cellfinder-1.6.0}/.github/workflows/test_and_deploy.yml +3 -3
  2. {cellfinder-1.5.0 → cellfinder-1.6.0}/.github/workflows/test_include_guard.yaml +1 -1
  3. {cellfinder-1.5.0 → cellfinder-1.6.0}/PKG-INFO +4 -4
  4. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/classify/classify.py +1 -1
  5. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/main.py +1 -1
  6. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/curation.py +1 -1
  7. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/train/train.py +2 -2
  8. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/train/train_containers.py +2 -2
  9. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder.egg-info/PKG-INFO +4 -4
  10. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder.egg-info/SOURCES.txt +1 -1
  11. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder.egg-info/entry_points.txt +1 -1
  12. {cellfinder-1.5.0 → cellfinder-1.6.0}/pyproject.toml +7 -7
  13. {cellfinder-1.5.0 → cellfinder-1.6.0}/.gitignore +0 -0
  14. {cellfinder-1.5.0 → cellfinder-1.6.0}/.napari/config.yml +0 -0
  15. {cellfinder-1.5.0 → cellfinder-1.6.0}/CITATION.cff +0 -0
  16. {cellfinder-1.5.0 → cellfinder-1.6.0}/LICENSE +0 -0
  17. {cellfinder-1.5.0 → cellfinder-1.6.0}/MANIFEST.in +0 -0
  18. {cellfinder-1.5.0 → cellfinder-1.6.0}/README.md +0 -0
  19. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/__init__.py +0 -0
  20. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/cli_migration_warning.py +0 -0
  21. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/__init__.py +0 -0
  22. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/classify/__init__.py +0 -0
  23. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/classify/augment.py +0 -0
  24. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/classify/cube_generator.py +0 -0
  25. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/classify/resnet.py +0 -0
  26. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/classify/tools.py +0 -0
  27. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/config/__init__.py +0 -0
  28. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/config/cellfinder.conf +0 -0
  29. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/__init__.py +0 -0
  30. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/detect.py +0 -0
  31. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/__init__.py +0 -0
  32. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/plane/__init__.py +0 -0
  33. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/plane/classical_filter.py +0 -0
  34. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/plane/plane_filter.py +0 -0
  35. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/plane/tile_walker.py +0 -0
  36. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/setup_filters.py +0 -0
  37. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/volume/__init__.py +0 -0
  38. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/volume/ball_filter.py +0 -0
  39. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/volume/structure_detection.py +0 -0
  40. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/volume/structure_splitting.py +0 -0
  41. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/detect/filters/volume/volume_filter.py +0 -0
  42. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/download/__init__.py +0 -0
  43. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/download/cli.py +0 -0
  44. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/download/download.py +0 -0
  45. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/IO.py +0 -0
  46. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/__init__.py +0 -0
  47. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/array_operations.py +0 -0
  48. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/geometry.py +0 -0
  49. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/image_processing.py +0 -0
  50. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/prep.py +0 -0
  51. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/source_files.py +0 -0
  52. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/system.py +0 -0
  53. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/threading.py +0 -0
  54. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/tiff.py +0 -0
  55. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/tools/tools.py +0 -0
  56. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/train/__init__.py +0 -0
  57. cellfinder-1.5.0/cellfinder/core/train/train_yml.py → cellfinder-1.6.0/cellfinder/core/train/train_yaml.py +0 -0
  58. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/core/types.py +0 -0
  59. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/__init__.py +0 -0
  60. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/detect/__init__.py +0 -0
  61. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/detect/detect.py +0 -0
  62. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/detect/detect_containers.py +0 -0
  63. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/detect/thread_worker.py +0 -0
  64. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/input_container.py +0 -0
  65. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/napari.yaml +0 -0
  66. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/sample_data.py +0 -0
  67. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/train/__init__.py +0 -0
  68. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder/napari/utils.py +0 -0
  69. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder.egg-info/dependency_links.txt +0 -0
  70. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder.egg-info/requires.txt +1 -1
  71. {cellfinder-1.5.0 → cellfinder-1.6.0}/cellfinder.egg-info/top_level.txt +0 -0
  72. {cellfinder-1.5.0 → cellfinder-1.6.0}/setup.cfg +0 -0
@@ -50,13 +50,13 @@ jobs:
50
50
  matrix:
51
51
  # Run all supported Python versions on linux
52
52
  os: [ubuntu-latest]
53
- python-version: ["3.10", "3.11", "3.12"]
53
+ python-version: ["3.11", "3.12", "3.13"]
54
54
  # Include one windows and one macOS (arm based) run
55
55
  include:
56
56
  - os: macos-latest
57
- python-version: "3.12"
57
+ python-version: "3.13"
58
58
  - os: windows-latest
59
- python-version: "3.12"
59
+ python-version: "3.13"
60
60
 
61
61
  steps:
62
62
  - uses: actions/checkout@v4
@@ -22,7 +22,7 @@ jobs:
22
22
  - name: Setup Python
23
23
  uses: actions/setup-python@v4
24
24
  with:
25
- python-version: '3.12'
25
+ python-version: '3.13'
26
26
 
27
27
  - name: Install cellfinder via pip
28
28
  run: python -m pip install -e "."
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cellfinder
3
- Version: 1.5.0
3
+ Version: 1.6.0
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
@@ -16,11 +16,11 @@ Classifier: Intended Audience :: Science/Research
16
16
  Classifier: Operating System :: OS Independent
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
- Classifier: Programming Language :: Python :: 3.10
20
19
  Classifier: Programming Language :: Python :: 3.11
21
20
  Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: Scientific/Engineering :: Image Recognition
23
- Requires-Python: >=3.10
23
+ Requires-Python: >=3.11
24
24
  Description-Content-Type: text/markdown
25
25
  License-File: LICENSE
26
26
  Requires-Dist: brainglobe-utils>=0.5.0
@@ -36,6 +36,7 @@ Requires-Dist: keras>=3.7.0
36
36
  Requires-Dist: torch!=2.4,>=2.1.0
37
37
  Requires-Dist: tifffile
38
38
  Requires-Dist: tqdm
39
+ Requires-Dist: qt-niu
39
40
  Provides-Extra: dev
40
41
  Requires-Dist: black; extra == "dev"
41
42
  Requires-Dist: pre-commit; extra == "dev"
@@ -47,7 +48,6 @@ Requires-Dist: pytest-timeout; extra == "dev"
47
48
  Requires-Dist: pytest; extra == "dev"
48
49
  Requires-Dist: tox; extra == "dev"
49
50
  Requires-Dist: pooch>=1; extra == "dev"
50
- Requires-Dist: qt-niu; extra == "dev"
51
51
  Provides-Extra: napari
52
52
  Requires-Dist: brainglobe-napari-io; extra == "napari"
53
53
  Requires-Dist: magicgui; extra == "napari"
@@ -11,7 +11,7 @@ from brainglobe_utils.general.system import get_num_processes
11
11
  from cellfinder.core import logger, types
12
12
  from cellfinder.core.classify.cube_generator import CubeGeneratorFromFile
13
13
  from cellfinder.core.classify.tools import get_model
14
- from cellfinder.core.train.train_yml import depth_type, models
14
+ from cellfinder.core.train.train_yaml import depth_type, models
15
15
 
16
16
 
17
17
  def main(
@@ -6,7 +6,7 @@ from brainglobe_utils.cells.cells import Cell
6
6
 
7
7
  from cellfinder.core import logger
8
8
  from cellfinder.core.download.download import model_type
9
- from cellfinder.core.train.train_yml import depth_type
9
+ from cellfinder.core.train.train_yaml import depth_type
10
10
 
11
11
 
12
12
  def main(
@@ -406,7 +406,7 @@ class CurationWidget(QWidget):
406
406
  self.update_status_label("Ready")
407
407
 
408
408
  def __prep_directories_for_save(self):
409
- self.yaml_filename = self.output_directory / "training.yml"
409
+ self.yaml_filename = self.output_directory / "training.yaml"
410
410
  self.cell_cube_dir = self.output_directory / "cells"
411
411
  self.no_cell_cube_dir = self.output_directory / "non_cells"
412
412
 
@@ -7,7 +7,7 @@ from napari.qt.threading import thread_worker
7
7
  from napari.utils.notifications import show_info
8
8
  from qtpy.QtWidgets import QScrollArea
9
9
 
10
- from cellfinder.core.train.train_yml import run as train_yml
10
+ from cellfinder.core.train.train_yaml import run as train_yaml
11
11
  from cellfinder.napari.utils import cellfinder_header, html_label_widget
12
12
 
13
13
  from .train_containers import (
@@ -26,7 +26,7 @@ def run_training(
26
26
  misc_training_inputs: MiscTrainingInputs,
27
27
  ):
28
28
  print("Running training")
29
- train_yml(
29
+ train_yaml(
30
30
  **training_data_inputs.as_core_arguments(),
31
31
  **optional_network_inputs.as_core_arguments(),
32
32
  **optional_training_inputs.as_core_arguments(),
@@ -5,7 +5,7 @@ from typing import Optional
5
5
  from magicgui.types import FileDialogMode
6
6
 
7
7
  from cellfinder.core.download.download import model_filenames
8
- from cellfinder.core.train.train_yml import models
8
+ from cellfinder.core.train.train_yaml import models
9
9
  from cellfinder.napari.input_container import InputContainer
10
10
  from cellfinder.napari.utils import html_label_widget
11
11
 
@@ -31,7 +31,7 @@ class TrainingDataInputs(InputContainer):
31
31
  "yaml_files",
32
32
  custom_label="YAML files",
33
33
  mode=FileDialogMode.EXISTING_FILES,
34
- filter="*.yml",
34
+ filter="*.yaml",
35
35
  ),
36
36
  output_directory=cls._custom_widget(
37
37
  "output_directory", mode=FileDialogMode.EXISTING_DIRECTORY
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cellfinder
3
- Version: 1.5.0
3
+ Version: 1.6.0
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
@@ -16,11 +16,11 @@ Classifier: Intended Audience :: Science/Research
16
16
  Classifier: Operating System :: OS Independent
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
- Classifier: Programming Language :: Python :: 3.10
20
19
  Classifier: Programming Language :: Python :: 3.11
21
20
  Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: Scientific/Engineering :: Image Recognition
23
- Requires-Python: >=3.10
23
+ Requires-Python: >=3.11
24
24
  Description-Content-Type: text/markdown
25
25
  License-File: LICENSE
26
26
  Requires-Dist: brainglobe-utils>=0.5.0
@@ -36,6 +36,7 @@ Requires-Dist: keras>=3.7.0
36
36
  Requires-Dist: torch!=2.4,>=2.1.0
37
37
  Requires-Dist: tifffile
38
38
  Requires-Dist: tqdm
39
+ Requires-Dist: qt-niu
39
40
  Provides-Extra: dev
40
41
  Requires-Dist: black; extra == "dev"
41
42
  Requires-Dist: pre-commit; extra == "dev"
@@ -47,7 +48,6 @@ Requires-Dist: pytest-timeout; extra == "dev"
47
48
  Requires-Dist: pytest; extra == "dev"
48
49
  Requires-Dist: tox; extra == "dev"
49
50
  Requires-Dist: pooch>=1; extra == "dev"
50
- Requires-Dist: qt-niu; extra == "dev"
51
51
  Provides-Extra: napari
52
52
  Requires-Dist: brainglobe-napari-io; extra == "napari"
53
53
  Requires-Dist: magicgui; extra == "napari"
@@ -54,7 +54,7 @@ cellfinder/core/tools/threading.py
54
54
  cellfinder/core/tools/tiff.py
55
55
  cellfinder/core/tools/tools.py
56
56
  cellfinder/core/train/__init__.py
57
- cellfinder/core/train/train_yml.py
57
+ cellfinder/core/train/train_yaml.py
58
58
  cellfinder/napari/__init__.py
59
59
  cellfinder/napari/curation.py
60
60
  cellfinder/napari/input_container.py
@@ -1,7 +1,7 @@
1
1
  [console_scripts]
2
2
  cellfinder = cellfinder.cli_migration_warning:cli_catch
3
3
  cellfinder_download = cellfinder.core.download.cli:main
4
- cellfinder_train = cellfinder.core.train.train_yml:cli
4
+ cellfinder_train = cellfinder.core.train.train_yaml:cli
5
5
 
6
6
  [napari.manifest]
7
7
  cellfinder = cellfinder.napari:napari.yaml
@@ -14,12 +14,12 @@ classifiers = [
14
14
  "Operating System :: OS Independent",
15
15
  "Programming Language :: Python",
16
16
  "Programming Language :: Python :: 3",
17
- "Programming Language :: Python :: 3.10",
18
17
  "Programming Language :: Python :: 3.11",
19
18
  "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
20
  "Topic :: Scientific/Engineering :: Image Recognition",
21
21
  ]
22
- requires-python = ">=3.10"
22
+ requires-python = ">=3.11"
23
23
  dependencies = [
24
24
  "brainglobe-utils>=0.5.0",
25
25
  "brainglobe-napari-io>=0.3.4",
@@ -34,6 +34,7 @@ dependencies = [
34
34
  "torch>=2.1.0,!=2.4",
35
35
  "tifffile",
36
36
  "tqdm",
37
+ "qt-niu"
37
38
  ]
38
39
  dynamic = ["version"]
39
40
 
@@ -52,7 +53,6 @@ dev = [
52
53
  "pytest",
53
54
  "tox",
54
55
  "pooch >= 1",
55
- "qt-niu"
56
56
  ]
57
57
  napari = [
58
58
  "brainglobe-napari-io",
@@ -66,7 +66,7 @@ napari = [
66
66
 
67
67
  [project.scripts]
68
68
  cellfinder_download = "cellfinder.core.download.cli:main"
69
- cellfinder_train = "cellfinder.core.train.train_yml:cli"
69
+ cellfinder_train = "cellfinder.core.train.train_yaml:cli"
70
70
  cellfinder = "cellfinder.cli_migration_warning:cli_catch"
71
71
 
72
72
  [project.urls]
@@ -81,7 +81,7 @@ requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
81
81
  build-backend = 'setuptools.build_meta'
82
82
 
83
83
  [tool.black]
84
- target-version = ['py310','py311', 'py312']
84
+ target-version = ['py311','py312', 'py313']
85
85
  skip-string-normalization = false
86
86
  line-length = 79
87
87
 
@@ -113,14 +113,14 @@ markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"]
113
113
  legacy_tox_ini = """
114
114
  # For more information about tox, see https://tox.readthedocs.io/en/latest/
115
115
  [tox]
116
- envlist = py{310,311,312}
116
+ envlist = py{311,312,313}
117
117
  isolated_build = true
118
118
 
119
119
  [gh-actions]
120
120
  python =
121
- 3.10: py310
122
121
  3.11: py311
123
122
  3.12: py312
123
+ 3.13: py313
124
124
 
125
125
  [testenv]
126
126
  commands = python -m pytest -v --color=yes --cov=cellfinder --cov-report=xml
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -11,6 +11,7 @@ keras>=3.7.0
11
11
  torch!=2.4,>=2.1.0
12
12
  tifffile
13
13
  tqdm
14
+ qt-niu
14
15
 
15
16
  [dev]
16
17
  black
@@ -23,7 +24,6 @@ pytest-timeout
23
24
  pytest
24
25
  tox
25
26
  pooch>=1
26
- qt-niu
27
27
 
28
28
  [napari]
29
29
  brainglobe-napari-io
File without changes