cellfinder 0.7.1__tar.gz → 0.8.1__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.
- {cellfinder-0.7.1/cellfinder.egg-info → cellfinder-0.8.1}/PKG-INFO +36 -3
- {cellfinder-0.7.1 → cellfinder-0.8.1}/README.md +9 -0
- cellfinder-0.8.1/cellfinder/__init__.py +14 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/analyse/analyse.py +11 -8
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/main.py +1 -1
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/tools/parser.py +2 -2
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/tools/prep.py +1 -1
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/tools/tools.py +2 -2
- {cellfinder-0.7.1 → cellfinder-0.8.1/cellfinder.egg-info}/PKG-INFO +36 -3
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder.egg-info/requires.txt +5 -5
- {cellfinder-0.7.1 → cellfinder-0.8.1}/pyproject.toml +9 -5
- cellfinder-0.7.1/cellfinder/__init__.py +0 -7
- {cellfinder-0.7.1 → cellfinder-0.8.1}/.gitignore +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/LICENSE +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/MANIFEST.in +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/analyse/__init__.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/export/__init__.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/export/abc4d.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/export/brainrender.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/export/export.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/extract/__init__.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/extract/extract_cubes.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/figures/__init__.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/figures/figures.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/figures/heatmap.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/tools/__init__.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/tools/image_processing.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder/tools/system.py +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder.egg-info/SOURCES.txt +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder.egg-info/dependency_links.txt +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder.egg-info/entry_points.txt +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder.egg-info/not-zip-safe +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/cellfinder.egg-info/top_level.txt +0 -0
- {cellfinder-0.7.1 → cellfinder-0.8.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cellfinder
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.1
|
|
4
4
|
Summary: Automated 3D cell detection and registration of whole-brain images
|
|
5
5
|
Author: Christian Niedworok, Charly Rousseau
|
|
6
6
|
Author-email: Adam Tyson <code@adamltyson.com>
|
|
@@ -48,11 +48,44 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
48
48
|
Classifier: Topic :: Scientific/Engineering :: Image Recognition
|
|
49
49
|
Classifier: Intended Audience :: Developers
|
|
50
50
|
Classifier: Intended Audience :: Science/Research
|
|
51
|
-
Requires-Python: >=3.
|
|
51
|
+
Requires-Python: >=3.9
|
|
52
52
|
Description-Content-Type: text/markdown
|
|
53
|
+
License-File: LICENSE
|
|
54
|
+
Requires-Dist: brainreg>=1.0.0
|
|
55
|
+
Requires-Dist: cellfinder-core<1.0.0,>=0.2.4
|
|
56
|
+
Requires-Dist: configobj
|
|
57
|
+
Requires-Dist: fancylog>=0.0.7
|
|
58
|
+
Requires-Dist: imio
|
|
59
|
+
Requires-Dist: brainglobe-utils<1.0.0,>=0.2.5
|
|
60
|
+
Requires-Dist: multiprocessing-logging>=0.3.4
|
|
61
|
+
Requires-Dist: natsort
|
|
62
|
+
Requires-Dist: numpy
|
|
63
|
+
Requires-Dist: pandas
|
|
64
|
+
Requires-Dist: packaging
|
|
65
|
+
Requires-Dist: scikit-image
|
|
66
|
+
Requires-Dist: tifffile
|
|
67
|
+
Requires-Dist: tqdm
|
|
53
68
|
Provides-Extra: dev
|
|
69
|
+
Requires-Dist: black; extra == "dev"
|
|
70
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
71
|
+
Requires-Dist: pytest; extra == "dev"
|
|
72
|
+
Requires-Dist: gitpython; extra == "dev"
|
|
73
|
+
Requires-Dist: coverage>=5.0.3; extra == "dev"
|
|
74
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
75
|
+
Requires-Dist: setuptools_scm; extra == "dev"
|
|
54
76
|
Provides-Extra: napari
|
|
55
|
-
|
|
77
|
+
Requires-Dist: napari[pyside2]; extra == "napari"
|
|
78
|
+
Requires-Dist: brainglobe-napari-io<1.0.0; extra == "napari"
|
|
79
|
+
Requires-Dist: cellfinder-napari<1.0.0; extra == "napari"
|
|
80
|
+
|
|
81
|
+
# Cellfinder has moved!
|
|
82
|
+
|
|
83
|
+
As part of [our BrainGlobe version 1 update](https://brainglobe.info/blog/version1/version_1_announcement.html), the `cellfinder` workflow that can be run from the command line [has moved into `brainglobe-workflows`](https://github.com/brainglobe/brainglobe-workflows).
|
|
84
|
+
Please head over to that package to install an up-to-date version of `cellfinder`.
|
|
85
|
+
|
|
86
|
+
You can keep up to date with the version 1 rollout by [visiting our blog page](https://brainglobe.info/blog/index.html), or joining us [over on Zulip](https://brainglobe.zulipchat.com).
|
|
87
|
+
|
|
88
|
+
---
|
|
56
89
|
|
|
57
90
|
[](https://pypi.org/project/cellfinder)
|
|
58
91
|
[](https://pypi.org/project/cellfinder)
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
# Cellfinder has moved!
|
|
2
|
+
|
|
3
|
+
As part of [our BrainGlobe version 1 update](https://brainglobe.info/blog/version1/version_1_announcement.html), the `cellfinder` workflow that can be run from the command line [has moved into `brainglobe-workflows`](https://github.com/brainglobe/brainglobe-workflows).
|
|
4
|
+
Please head over to that package to install an up-to-date version of `cellfinder`.
|
|
5
|
+
|
|
6
|
+
You can keep up to date with the version 1 rollout by [visiting our blog page](https://brainglobe.info/blog/index.html), or joining us [over on Zulip](https://brainglobe.zulipchat.com).
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
1
10
|
[](https://pypi.org/project/cellfinder)
|
|
2
11
|
[](https://pypi.org/project/cellfinder)
|
|
3
12
|
[](https://pepy.tech/project/cellfinder)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import warnings
|
|
2
|
+
|
|
3
|
+
warnings.warn(
|
|
4
|
+
"cellfinder (the command line tool) has migrated. Please use brainglobe-workflows instead: https://github.com/brainglobe/brainglobe-workflows",
|
|
5
|
+
DeprecationWarning,
|
|
6
|
+
)
|
|
7
|
+
|
|
8
|
+
from importlib.metadata import metadata
|
|
9
|
+
|
|
10
|
+
__version__ = metadata("cellfinder")["version"]
|
|
11
|
+
__author__ = metadata("cellfinder")["author-email"]
|
|
12
|
+
__license__ = metadata("cellfinder")["license"]
|
|
13
|
+
|
|
14
|
+
del metadata
|
|
@@ -16,7 +16,7 @@ import pandas as pd
|
|
|
16
16
|
import tifffile
|
|
17
17
|
from bg_atlasapi import BrainGlobeAtlas
|
|
18
18
|
from brainglobe_utils.general.system import ensure_directory_exists
|
|
19
|
-
from brainglobe_utils.pandas.misc import sanitise_df
|
|
19
|
+
from brainglobe_utils.pandas.misc import safe_pandas_concat, sanitise_df
|
|
20
20
|
|
|
21
21
|
from cellfinder.export.export import export_points
|
|
22
22
|
|
|
@@ -155,13 +155,16 @@ def get_region_totals(
|
|
|
155
155
|
]
|
|
156
156
|
)
|
|
157
157
|
if n_points:
|
|
158
|
-
point_numbers =
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
158
|
+
point_numbers = safe_pandas_concat(
|
|
159
|
+
point_numbers,
|
|
160
|
+
pd.DataFrame(
|
|
161
|
+
data=[[structure, hemisphere, n_points]],
|
|
162
|
+
columns=[
|
|
163
|
+
"structure_name",
|
|
164
|
+
"hemisphere",
|
|
165
|
+
"cell_count",
|
|
166
|
+
],
|
|
167
|
+
),
|
|
165
168
|
)
|
|
166
169
|
sorted_point_numbers = point_numbers.sort_values(
|
|
167
170
|
by=["cell_count"], ascending=False
|
|
@@ -16,8 +16,8 @@ from brainglobe_utils.general.numerical import (
|
|
|
16
16
|
check_positive_float,
|
|
17
17
|
check_positive_int,
|
|
18
18
|
)
|
|
19
|
-
from brainreg.cli import atlas_parse, geometry_parser, niftyreg_parse
|
|
20
|
-
from brainreg.cli import backend_parse as brainreg_backend_parse
|
|
19
|
+
from brainreg.core.cli import atlas_parse, geometry_parser, niftyreg_parse
|
|
20
|
+
from brainreg.core.cli import backend_parse as brainreg_backend_parse
|
|
21
21
|
from cellfinder_core.download.cli import (
|
|
22
22
|
download_directory_parser,
|
|
23
23
|
model_parser,
|
|
@@ -14,7 +14,7 @@ from pathlib import PurePath
|
|
|
14
14
|
from bg_atlasapi import BrainGlobeAtlas
|
|
15
15
|
from brainglobe_utils.general.exceptions import CommandLineInputError
|
|
16
16
|
from brainglobe_utils.general.system import ensure_directory_exists
|
|
17
|
-
from brainreg.paths import Paths as BrainRegPaths
|
|
17
|
+
from brainreg.core.paths import Paths as BrainRegPaths
|
|
18
18
|
from fancylog import fancylog
|
|
19
19
|
|
|
20
20
|
import cellfinder as program_for_log
|
|
@@ -80,9 +80,9 @@ def get_number_of_bins_nd(array_size, binning):
|
|
|
80
80
|
:param binning: How many pixels in each edge of nD equal sized bins
|
|
81
81
|
:return:
|
|
82
82
|
"""
|
|
83
|
-
if
|
|
83
|
+
if isinstance(array_size, tuple):
|
|
84
84
|
bins = [int(size / binning) for size in array_size]
|
|
85
|
-
elif
|
|
85
|
+
elif isinstance(array_size, dict):
|
|
86
86
|
bins = [int(size / binning) for size in array_size.values()]
|
|
87
87
|
else:
|
|
88
88
|
raise NotImplementedError(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cellfinder
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.1
|
|
4
4
|
Summary: Automated 3D cell detection and registration of whole-brain images
|
|
5
5
|
Author: Christian Niedworok, Charly Rousseau
|
|
6
6
|
Author-email: Adam Tyson <code@adamltyson.com>
|
|
@@ -48,11 +48,44 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
48
48
|
Classifier: Topic :: Scientific/Engineering :: Image Recognition
|
|
49
49
|
Classifier: Intended Audience :: Developers
|
|
50
50
|
Classifier: Intended Audience :: Science/Research
|
|
51
|
-
Requires-Python: >=3.
|
|
51
|
+
Requires-Python: >=3.9
|
|
52
52
|
Description-Content-Type: text/markdown
|
|
53
|
+
License-File: LICENSE
|
|
54
|
+
Requires-Dist: brainreg>=1.0.0
|
|
55
|
+
Requires-Dist: cellfinder-core<1.0.0,>=0.2.4
|
|
56
|
+
Requires-Dist: configobj
|
|
57
|
+
Requires-Dist: fancylog>=0.0.7
|
|
58
|
+
Requires-Dist: imio
|
|
59
|
+
Requires-Dist: brainglobe-utils<1.0.0,>=0.2.5
|
|
60
|
+
Requires-Dist: multiprocessing-logging>=0.3.4
|
|
61
|
+
Requires-Dist: natsort
|
|
62
|
+
Requires-Dist: numpy
|
|
63
|
+
Requires-Dist: pandas
|
|
64
|
+
Requires-Dist: packaging
|
|
65
|
+
Requires-Dist: scikit-image
|
|
66
|
+
Requires-Dist: tifffile
|
|
67
|
+
Requires-Dist: tqdm
|
|
53
68
|
Provides-Extra: dev
|
|
69
|
+
Requires-Dist: black; extra == "dev"
|
|
70
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
71
|
+
Requires-Dist: pytest; extra == "dev"
|
|
72
|
+
Requires-Dist: gitpython; extra == "dev"
|
|
73
|
+
Requires-Dist: coverage>=5.0.3; extra == "dev"
|
|
74
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
75
|
+
Requires-Dist: setuptools_scm; extra == "dev"
|
|
54
76
|
Provides-Extra: napari
|
|
55
|
-
|
|
77
|
+
Requires-Dist: napari[pyside2]; extra == "napari"
|
|
78
|
+
Requires-Dist: brainglobe-napari-io<1.0.0; extra == "napari"
|
|
79
|
+
Requires-Dist: cellfinder-napari<1.0.0; extra == "napari"
|
|
80
|
+
|
|
81
|
+
# Cellfinder has moved!
|
|
82
|
+
|
|
83
|
+
As part of [our BrainGlobe version 1 update](https://brainglobe.info/blog/version1/version_1_announcement.html), the `cellfinder` workflow that can be run from the command line [has moved into `brainglobe-workflows`](https://github.com/brainglobe/brainglobe-workflows).
|
|
84
|
+
Please head over to that package to install an up-to-date version of `cellfinder`.
|
|
85
|
+
|
|
86
|
+
You can keep up to date with the version 1 rollout by [visiting our blog page](https://brainglobe.info/blog/index.html), or joining us [over on Zulip](https://brainglobe.zulipchat.com).
|
|
87
|
+
|
|
88
|
+
---
|
|
56
89
|
|
|
57
90
|
[](https://pypi.org/project/cellfinder)
|
|
58
91
|
[](https://pypi.org/project/cellfinder)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
brainreg
|
|
2
|
-
cellfinder-core
|
|
1
|
+
brainreg>=1.0.0
|
|
2
|
+
cellfinder-core<1.0.0,>=0.2.4
|
|
3
3
|
configobj
|
|
4
4
|
fancylog>=0.0.7
|
|
5
5
|
imio
|
|
6
|
-
brainglobe-utils
|
|
6
|
+
brainglobe-utils<1.0.0,>=0.2.5
|
|
7
7
|
multiprocessing-logging>=0.3.4
|
|
8
8
|
natsort
|
|
9
9
|
numpy
|
|
@@ -24,5 +24,5 @@ setuptools_scm
|
|
|
24
24
|
|
|
25
25
|
[napari]
|
|
26
26
|
napari[pyside2]
|
|
27
|
-
brainglobe-napari-io
|
|
28
|
-
cellfinder-napari
|
|
27
|
+
brainglobe-napari-io<1.0.0
|
|
28
|
+
cellfinder-napari<1.0.0
|
|
@@ -3,7 +3,7 @@ name = "cellfinder"
|
|
|
3
3
|
description = "Automated 3D cell detection and registration of whole-brain images"
|
|
4
4
|
readme = "README.md"
|
|
5
5
|
license = { file = "LICENSE" }
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.9"
|
|
7
7
|
authors = [
|
|
8
8
|
{ name = "Adam Tyson", email = "code@adamltyson.com" },
|
|
9
9
|
{ name = "Christian Niedworok" },
|
|
@@ -22,12 +22,12 @@ classifiers = [
|
|
|
22
22
|
"Intended Audience :: Science/Research",
|
|
23
23
|
]
|
|
24
24
|
dependencies = [
|
|
25
|
-
"brainreg",
|
|
26
|
-
"cellfinder-core>=0.2.4",
|
|
25
|
+
"brainreg>=1.0.0",
|
|
26
|
+
"cellfinder-core>=0.2.4,<1.0.0",
|
|
27
27
|
"configobj",
|
|
28
28
|
"fancylog>=0.0.7",
|
|
29
29
|
"imio",
|
|
30
|
-
"brainglobe-utils>=0.2.5",
|
|
30
|
+
"brainglobe-utils>=0.2.5,<1.0.0",
|
|
31
31
|
"multiprocessing-logging>=0.3.4",
|
|
32
32
|
"natsort",
|
|
33
33
|
"numpy",
|
|
@@ -52,7 +52,11 @@ dev = [
|
|
|
52
52
|
"pre-commit",
|
|
53
53
|
"setuptools_scm",
|
|
54
54
|
]
|
|
55
|
-
napari = [
|
|
55
|
+
napari = [
|
|
56
|
+
"napari[pyside2]",
|
|
57
|
+
"brainglobe-napari-io<1.0.0",
|
|
58
|
+
"cellfinder-napari<1.0.0",
|
|
59
|
+
]
|
|
56
60
|
|
|
57
61
|
[project.urls]
|
|
58
62
|
source = "https://github.com/brainglobe/cellfinder"
|
|
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
|