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.
- {cellects-0.3.4 → cellects-0.3.9}/PKG-INFO +7 -3
- {cellects-0.3.4 → cellects-0.3.9}/README.md +6 -2
- {cellects-0.3.4 → cellects-0.3.9}/pyproject.toml +1 -1
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/__main__.py +19 -9
- cellects-0.3.9/src/cellects/icons/cellects_icon.png +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/PKG-INFO +7 -3
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/SOURCES.txt +1 -0
- {cellects-0.3.4 → cellects-0.3.9}/LICENSE +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/setup.cfg +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/__init__.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/config/__init__.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/config/all_vars_dict.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/__init__.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/cellects_paths.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/cellects_threads.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/motion_analysis.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/one_image_analysis.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/program_organizer.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/core/script_based_run.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/__init__.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/advanced_parameters.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/cellects.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/custom_widgets.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/first_window.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/if_several_folders_window.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/image_analysis_window.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/required_output.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/ui_strings.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/gui/video_analysis_window.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/icons/__init__.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/icons/cellects_icon.icns +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/icons/cellects_icon.ico +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/__init__.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/cell_leaving_detection.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/image_segmentation.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/morphological_operations.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/network_functions.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/one_image_analysis_threads.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/oscillations_functions.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/progressively_add_distant_shapes.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/shape_descriptors.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/__init__.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/decorators.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/formulas.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/load_display_save.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects/utils/utilitarian.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/dependency_links.txt +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/entry_points.txt +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/requires.txt +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/src/cellects.egg-info/top_level.txt +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_based_run.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_cell_leaving_detection.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_formulas.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_image_segmentation.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_load_display_save.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_morphological_operations.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_motion_analysis.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_network_functions.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_one_image_analysis.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_program_organizer.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_progressively_add_distant_shapes.py +0 -0
- {cellects-0.3.4 → cellects-0.3.9}/tests/test_shape_descriptors.py +0 -0
- {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.
|
|
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
|
+
[](https://github.com/Aurele-B/Cellects/releases/latest/)
|
|
729
|
+
[](https://github.com/Aurele-B/Cellects/releases/latest)
|
|
728
730
|
[](https://pypi.org/project/cellects/)
|
|
729
731
|

|
|
730
732
|
[](https://pypi.org/project/cellects/)
|
|
731
733
|
[](https://github.com/Aurele-B/cellects/blob/main/LICENSE)
|
|
732
734
|
[](https://github.com/Aurele-B/cellects/stargazers)
|
|
733
|
-

|
|
734
735
|

|
|
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
|
|
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
|
+
[](https://github.com/Aurele-B/Cellects/releases/latest/)
|
|
9
|
+
[](https://github.com/Aurele-B/Cellects/releases/latest)
|
|
8
10
|
[](https://pypi.org/project/cellects/)
|
|
9
11
|

|
|
10
12
|
[](https://pypi.org/project/cellects/)
|
|
11
13
|
[](https://github.com/Aurele-B/cellects/blob/main/LICENSE)
|
|
12
14
|
[](https://github.com/Aurele-B/cellects/stargazers)
|
|
13
|
-

|
|
14
15
|

|
|
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
|
|
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
|
|
|
@@ -10,17 +10,33 @@ import sys
|
|
|
10
10
|
import logging
|
|
11
11
|
import coloredlogs
|
|
12
12
|
from PySide6 import QtWidgets, QtGui
|
|
13
|
-
from
|
|
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(
|
|
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
|
-
|
|
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()
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: cellects
|
|
3
|
-
Version: 0.3.
|
|
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
|
+
[](https://github.com/Aurele-B/Cellects/releases/latest/)
|
|
729
|
+
[](https://github.com/Aurele-B/Cellects/releases/latest)
|
|
728
730
|
[](https://pypi.org/project/cellects/)
|
|
729
731
|

|
|
730
732
|
[](https://pypi.org/project/cellects/)
|
|
731
733
|
[](https://github.com/Aurele-B/cellects/blob/main/LICENSE)
|
|
732
734
|
[](https://github.com/Aurele-B/cellects/stargazers)
|
|
733
|
-

|
|
734
735
|

|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cellects-0.3.4 → cellects-0.3.9}/src/cellects/image_analysis/progressively_add_distant_shapes.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|