cellects 0.3.4__tar.gz → 0.3.9__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.
Files changed (63) hide show
  1. {cellects-0.3.4 → cellects-0.3.9}/PKG-INFO +7 -3
  2. {cellects-0.3.4 → cellects-0.3.9}/README.md +6 -2
  3. {cellects-0.3.4 → cellects-0.3.9}/pyproject.toml +1 -1
  4. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/__main__.py +19 -9
  5. cellects-0.3.9/src/cellects/icons/cellects_icon.png +0 -0
  6. {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/PKG-INFO +7 -3
  7. {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/SOURCES.txt +1 -0
  8. {cellects-0.3.4 → cellects-0.3.9}/LICENSE +0 -0
  9. {cellects-0.3.4 → cellects-0.3.9}/setup.cfg +0 -0
  10. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/__init__.py +0 -0
  11. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/config/__init__.py +0 -0
  12. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/config/all_vars_dict.py +0 -0
  13. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/__init__.py +0 -0
  14. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/cellects_paths.py +0 -0
  15. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/cellects_threads.py +0 -0
  16. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/motion_analysis.py +0 -0
  17. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/one_image_analysis.py +0 -0
  18. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/program_organizer.py +0 -0
  19. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/script_based_run.py +0 -0
  20. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/__init__.py +0 -0
  21. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/advanced_parameters.py +0 -0
  22. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/cellects.py +0 -0
  23. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/custom_widgets.py +0 -0
  24. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/first_window.py +0 -0
  25. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/if_several_folders_window.py +0 -0
  26. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/image_analysis_window.py +0 -0
  27. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/required_output.py +0 -0
  28. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/ui_strings.py +0 -0
  29. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/video_analysis_window.py +0 -0
  30. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/icons/__init__.py +0 -0
  31. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/icons/cellects_icon.icns +0 -0
  32. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/icons/cellects_icon.ico +0 -0
  33. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/__init__.py +0 -0
  34. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/cell_leaving_detection.py +0 -0
  35. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/image_segmentation.py +0 -0
  36. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/morphological_operations.py +0 -0
  37. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/network_functions.py +0 -0
  38. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/one_image_analysis_threads.py +0 -0
  39. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/oscillations_functions.py +0 -0
  40. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/progressively_add_distant_shapes.py +0 -0
  41. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/shape_descriptors.py +0 -0
  42. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/__init__.py +0 -0
  43. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/decorators.py +0 -0
  44. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/formulas.py +0 -0
  45. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/load_display_save.py +0 -0
  46. {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/utilitarian.py +0 -0
  47. {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/dependency_links.txt +0 -0
  48. {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/entry_points.txt +0 -0
  49. {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/requires.txt +0 -0
  50. {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/top_level.txt +0 -0
  51. {cellects-0.3.4 → cellects-0.3.9}/tests/test_based_run.py +0 -0
  52. {cellects-0.3.4 → cellects-0.3.9}/tests/test_cell_leaving_detection.py +0 -0
  53. {cellects-0.3.4 → cellects-0.3.9}/tests/test_formulas.py +0 -0
  54. {cellects-0.3.4 → cellects-0.3.9}/tests/test_image_segmentation.py +0 -0
  55. {cellects-0.3.4 → cellects-0.3.9}/tests/test_load_display_save.py +0 -0
  56. {cellects-0.3.4 → cellects-0.3.9}/tests/test_morphological_operations.py +0 -0
  57. {cellects-0.3.4 → cellects-0.3.9}/tests/test_motion_analysis.py +0 -0
  58. {cellects-0.3.4 → cellects-0.3.9}/tests/test_network_functions.py +0 -0
  59. {cellects-0.3.4 → cellects-0.3.9}/tests/test_one_image_analysis.py +0 -0
  60. {cellects-0.3.4 → cellects-0.3.9}/tests/test_program_organizer.py +0 -0
  61. {cellects-0.3.4 → cellects-0.3.9}/tests/test_progressively_add_distant_shapes.py +0 -0
  62. {cellects-0.3.4 → cellects-0.3.9}/tests/test_shape_descriptors.py +0 -0
  63. {cellects-0.3.4 → cellects-0.3.9}/tests/test_utilitarian.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cellects
3
- Version: 0.3.4
3
+ Version: 0.3.9
4
4
  Summary: Cell Expansion Computer Tracking Software.
5
5
  Author: Aurèle Boussard
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -725,12 +725,13 @@ Requires-Dist: mkdocs-jupyter; extra == "doc"
725
725
  Cellects: Cell Expansion Computer Tracking Software
726
726
  </h1>
727
727
 
728
+ [![Windows Installer](https://img.shields.io/github/v/release/Aurele-B/Cellects?label=Windows%20Installer&logo=windows&color=blue)](https://github.com/Aurele-B/Cellects/releases/latest/)
729
+ [![macOS Installer](https://img.shields.io/github/v/release/Aurele-B/Cellects?label=macOS%20Installer&logo=apple&color=black)](https://github.com/Aurele-B/Cellects/releases/latest)
728
730
  [![PyPI version](https://img.shields.io/pypi/v/cellects.svg?style=flat-square)](https://pypi.org/project/cellects/)
729
731
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/cellects)
730
732
  [![Python versions](https://img.shields.io/pypi/pyversions/cellects.svg?style=flat-square)](https://pypi.org/project/cellects/)
731
733
  [![License](https://img.shields.io/pypi/l/cellects.svg?style=flat-square)](https://github.com/Aurele-B/cellects/blob/main/LICENSE)
732
734
  [![Stars](https://img.shields.io/github/stars/Aurele-B/cellects.svg?style=flat-square)](https://github.com/Aurele-B/cellects/stargazers)
733
- ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Aurele-B/Cellects/.github%2Fworkflows%2Frelease.yml)
734
735
  ![Coverage](https://raw.githubusercontent.com/Aurele-B/cellects/gh-pages/badges/coverage.svg)
735
736
 
736
737
  Description
@@ -749,7 +750,9 @@ easy installation and user-friendly interface.
749
750
  ---
750
751
 
751
752
  ## Installation (Short version)
752
- Install using our Windows installer: [Cellects_installer.exe](https://github.com/Aurele-B/Cellects/releases/)
753
+ Install using our installers:
754
+ - Windows: [Cellects-x.x.x-setup.exe](https://github.com/Aurele-B/Cellects/releases/)
755
+ - macOS: [Cellects-x.x.x-setup.dmg](https://github.com/Aurele-B/Cellects/releases/)
753
756
 
754
757
  Or, install via pip:
755
758
  ```bash
@@ -820,6 +823,7 @@ To cite Cellects, use:
820
823
 
821
824
  Run unit tests with:
822
825
  ```bash
826
+ pip install -e ".[test]"
823
827
  pytest
824
828
  ```
825
829
 
@@ -5,12 +5,13 @@
5
5
  Cellects: Cell Expansion Computer Tracking Software
6
6
  </h1>
7
7
 
8
+ [![Windows Installer](https://img.shields.io/github/v/release/Aurele-B/Cellects?label=Windows%20Installer&logo=windows&color=blue)](https://github.com/Aurele-B/Cellects/releases/latest/)
9
+ [![macOS Installer](https://img.shields.io/github/v/release/Aurele-B/Cellects?label=macOS%20Installer&logo=apple&color=black)](https://github.com/Aurele-B/Cellects/releases/latest)
8
10
  [![PyPI version](https://img.shields.io/pypi/v/cellects.svg?style=flat-square)](https://pypi.org/project/cellects/)
9
11
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/cellects)
10
12
  [![Python versions](https://img.shields.io/pypi/pyversions/cellects.svg?style=flat-square)](https://pypi.org/project/cellects/)
11
13
  [![License](https://img.shields.io/pypi/l/cellects.svg?style=flat-square)](https://github.com/Aurele-B/cellects/blob/main/LICENSE)
12
14
  [![Stars](https://img.shields.io/github/stars/Aurele-B/cellects.svg?style=flat-square)](https://github.com/Aurele-B/cellects/stargazers)
13
- ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Aurele-B/Cellects/.github%2Fworkflows%2Frelease.yml)
14
15
  ![Coverage](https://raw.githubusercontent.com/Aurele-B/cellects/gh-pages/badges/coverage.svg)
15
16
 
16
17
  Description
@@ -29,7 +30,9 @@ easy installation and user-friendly interface.
29
30
  ---
30
31
 
31
32
  ## Installation (Short version)
32
- Install using our Windows installer: [Cellects_installer.exe](https://github.com/Aurele-B/Cellects/releases/)
33
+ Install using our installers:
34
+ - Windows: [Cellects-x.x.x-setup.exe](https://github.com/Aurele-B/Cellects/releases/)
35
+ - macOS: [Cellects-x.x.x-setup.dmg](https://github.com/Aurele-B/Cellects/releases/)
33
36
 
34
37
  Or, install via pip:
35
38
  ```bash
@@ -100,6 +103,7 @@ To cite Cellects, use:
100
103
 
101
104
  Run unit tests with:
102
105
  ```bash
106
+ pip install -e ".[test]"
103
107
  pytest
104
108
  ```
105
109
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cellects"
7
- version = "0.3.4"
7
+ version = "0.3.9"
8
8
  description = "Cell Expansion Computer Tracking Software."
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
@@ -10,17 +10,33 @@ import sys
10
10
  import logging
11
11
  import coloredlogs
12
12
  from PySide6 import QtWidgets, QtGui
13
- from cellects.core.cellects_paths import ICONS_DIR
13
+ from pathlib import Path
14
+
15
+
16
+ def get_icon_path():
17
+ if hasattr(sys, "_MEIPASS"):
18
+ return Path(sys._MEIPASS) / "icons"
19
+ return Path(__file__).parent / "icons"
20
+
21
+
22
+ ICON_DIR = get_icon_path()
23
+
14
24
 
15
25
  if sys.platform.startswith('win'):
16
26
  try:
17
27
  import ctypes
18
- ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID('company.app.1')
28
+ ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID("cellects.app")
19
29
  except Exception as e:
20
30
  logging.getLogger(__name__).debug(f"Windows taskbar icon setup failed: {e}")
31
+ icon_path = ICON_DIR / "cellects_icon.ico"
32
+ elif sys.platform == "darwin":
33
+ icon_path = ICON_DIR / "cellects_icon.icns"
34
+ else:
35
+ icon_path = ICON_DIR / "cellects_icon.png"
21
36
 
22
37
  LOGLEVEL = "INFO" # Set to DEBUG for development
23
38
 
39
+
24
40
  def _initialize_coloredlogs(loglevel: str = 'DEBUG') -> None:
25
41
 
26
42
  """Initialize colored console logging with custom format.
@@ -67,13 +83,7 @@ def run_cellects():
67
83
  app = QtWidgets.QApplication([])
68
84
 
69
85
  # Set custom window icon for taskbar (platform-specific handling)
70
- icon = QtGui.QIcon()
71
- platform_icon_path = (
72
- ICONS_DIR / "cellects_icon.ico" if sys.platform.startswith('win')
73
- else ICONS_DIR / "cellects_icon.icns"
74
- )
75
- icon.addPixmap(QtGui.QPixmap(str(platform_icon_path)))
76
- app.setWindowIcon(icon)
86
+ app.setWindowIcon(QtGui.QIcon(str(icon_path)))
77
87
 
78
88
  # Create and display main window
79
89
  session = CellectsMainWidget()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cellects
3
- Version: 0.3.4
3
+ Version: 0.3.9
4
4
  Summary: Cell Expansion Computer Tracking Software.
5
5
  Author: Aurèle Boussard
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -725,12 +725,13 @@ Requires-Dist: mkdocs-jupyter; extra == "doc"
725
725
  Cellects: Cell Expansion Computer Tracking Software
726
726
  </h1>
727
727
 
728
+ [![Windows Installer](https://img.shields.io/github/v/release/Aurele-B/Cellects?label=Windows%20Installer&logo=windows&color=blue)](https://github.com/Aurele-B/Cellects/releases/latest/)
729
+ [![macOS Installer](https://img.shields.io/github/v/release/Aurele-B/Cellects?label=macOS%20Installer&logo=apple&color=black)](https://github.com/Aurele-B/Cellects/releases/latest)
728
730
  [![PyPI version](https://img.shields.io/pypi/v/cellects.svg?style=flat-square)](https://pypi.org/project/cellects/)
729
731
  ![PyPI - Downloads](https://img.shields.io/pypi/dm/cellects)
730
732
  [![Python versions](https://img.shields.io/pypi/pyversions/cellects.svg?style=flat-square)](https://pypi.org/project/cellects/)
731
733
  [![License](https://img.shields.io/pypi/l/cellects.svg?style=flat-square)](https://github.com/Aurele-B/cellects/blob/main/LICENSE)
732
734
  [![Stars](https://img.shields.io/github/stars/Aurele-B/cellects.svg?style=flat-square)](https://github.com/Aurele-B/cellects/stargazers)
733
- ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Aurele-B/Cellects/.github%2Fworkflows%2Frelease.yml)
734
735
  ![Coverage](https://raw.githubusercontent.com/Aurele-B/cellects/gh-pages/badges/coverage.svg)
735
736
 
736
737
  Description
@@ -749,7 +750,9 @@ easy installation and user-friendly interface.
749
750
  ---
750
751
 
751
752
  ## Installation (Short version)
752
- Install using our Windows installer: [Cellects_installer.exe](https://github.com/Aurele-B/Cellects/releases/)
753
+ Install using our installers:
754
+ - Windows: [Cellects-x.x.x-setup.exe](https://github.com/Aurele-B/Cellects/releases/)
755
+ - macOS: [Cellects-x.x.x-setup.dmg](https://github.com/Aurele-B/Cellects/releases/)
753
756
 
754
757
  Or, install via pip:
755
758
  ```bash
@@ -820,6 +823,7 @@ To cite Cellects, use:
820
823
 
821
824
  Run unit tests with:
822
825
  ```bash
826
+ pip install -e ".[test]"
823
827
  pytest
824
828
  ```
825
829
 
@@ -31,6 +31,7 @@ src/cellects/gui/video_analysis_window.py
31
31
  src/cellects/icons/__init__.py
32
32
  src/cellects/icons/cellects_icon.icns
33
33
  src/cellects/icons/cellects_icon.ico
34
+ src/cellects/icons/cellects_icon.png
34
35
  src/cellects/image_analysis/__init__.py
35
36
  src/cellects/image_analysis/cell_leaving_detection.py
36
37
  src/cellects/image_analysis/image_segmentation.py
File without changes
File without changes