cellfinder 0.8.0__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.

Files changed (34) hide show
  1. {cellfinder-0.8.0/cellfinder.egg-info → cellfinder-0.8.1}/PKG-INFO +14 -5
  2. {cellfinder-0.8.0 → cellfinder-0.8.1}/README.md +9 -0
  3. cellfinder-0.8.1/cellfinder/__init__.py +14 -0
  4. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/analyse/analyse.py +11 -8
  5. {cellfinder-0.8.0 → cellfinder-0.8.1/cellfinder.egg-info}/PKG-INFO +14 -5
  6. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder.egg-info/requires.txt +4 -4
  7. {cellfinder-0.8.0 → cellfinder-0.8.1}/pyproject.toml +7 -3
  8. cellfinder-0.8.0/cellfinder/__init__.py +0 -7
  9. {cellfinder-0.8.0 → cellfinder-0.8.1}/.gitignore +0 -0
  10. {cellfinder-0.8.0 → cellfinder-0.8.1}/LICENSE +0 -0
  11. {cellfinder-0.8.0 → cellfinder-0.8.1}/MANIFEST.in +0 -0
  12. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/analyse/__init__.py +0 -0
  13. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/export/__init__.py +0 -0
  14. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/export/abc4d.py +0 -0
  15. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/export/brainrender.py +0 -0
  16. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/export/export.py +0 -0
  17. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/extract/__init__.py +0 -0
  18. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/extract/extract_cubes.py +0 -0
  19. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/figures/__init__.py +0 -0
  20. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/figures/figures.py +0 -0
  21. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/figures/heatmap.py +0 -0
  22. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/main.py +0 -0
  23. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/tools/__init__.py +0 -0
  24. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/tools/image_processing.py +0 -0
  25. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/tools/parser.py +0 -0
  26. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/tools/prep.py +0 -0
  27. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/tools/system.py +0 -0
  28. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder/tools/tools.py +0 -0
  29. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder.egg-info/SOURCES.txt +0 -0
  30. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder.egg-info/dependency_links.txt +0 -0
  31. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder.egg-info/entry_points.txt +0 -0
  32. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder.egg-info/not-zip-safe +0 -0
  33. {cellfinder-0.8.0 → cellfinder-0.8.1}/cellfinder.egg-info/top_level.txt +0 -0
  34. {cellfinder-0.8.0 → 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.8.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>
@@ -52,11 +52,11 @@ Requires-Python: >=3.9
52
52
  Description-Content-Type: text/markdown
53
53
  License-File: LICENSE
54
54
  Requires-Dist: brainreg>=1.0.0
55
- Requires-Dist: cellfinder-core>=0.2.4
55
+ Requires-Dist: cellfinder-core<1.0.0,>=0.2.4
56
56
  Requires-Dist: configobj
57
57
  Requires-Dist: fancylog>=0.0.7
58
58
  Requires-Dist: imio
59
- Requires-Dist: brainglobe-utils>=0.2.5
59
+ Requires-Dist: brainglobe-utils<1.0.0,>=0.2.5
60
60
  Requires-Dist: multiprocessing-logging>=0.3.4
61
61
  Requires-Dist: natsort
62
62
  Requires-Dist: numpy
@@ -75,8 +75,17 @@ Requires-Dist: pre-commit; extra == "dev"
75
75
  Requires-Dist: setuptools_scm; extra == "dev"
76
76
  Provides-Extra: napari
77
77
  Requires-Dist: napari[pyside2]; extra == "napari"
78
- Requires-Dist: brainglobe-napari-io; extra == "napari"
79
- Requires-Dist: cellfinder-napari; 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
+ ---
80
89
 
81
90
  [![Python Version](https://img.shields.io/pypi/pyversions/cellfinder.svg)](https://pypi.org/project/cellfinder)
82
91
  [![PyPI](https://img.shields.io/pypi/v/cellfinder.svg)](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
  [![Python Version](https://img.shields.io/pypi/pyversions/cellfinder.svg)](https://pypi.org/project/cellfinder)
2
11
  [![PyPI](https://img.shields.io/pypi/v/cellfinder.svg)](https://pypi.org/project/cellfinder)
3
12
  [![Downloads](https://pepy.tech/badge/cellfinder)](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 = point_numbers.append(
159
- {
160
- "structure_name": structure,
161
- "hemisphere": hemisphere,
162
- "cell_count": n_points,
163
- },
164
- ignore_index=True,
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cellfinder
3
- Version: 0.8.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>
@@ -52,11 +52,11 @@ Requires-Python: >=3.9
52
52
  Description-Content-Type: text/markdown
53
53
  License-File: LICENSE
54
54
  Requires-Dist: brainreg>=1.0.0
55
- Requires-Dist: cellfinder-core>=0.2.4
55
+ Requires-Dist: cellfinder-core<1.0.0,>=0.2.4
56
56
  Requires-Dist: configobj
57
57
  Requires-Dist: fancylog>=0.0.7
58
58
  Requires-Dist: imio
59
- Requires-Dist: brainglobe-utils>=0.2.5
59
+ Requires-Dist: brainglobe-utils<1.0.0,>=0.2.5
60
60
  Requires-Dist: multiprocessing-logging>=0.3.4
61
61
  Requires-Dist: natsort
62
62
  Requires-Dist: numpy
@@ -75,8 +75,17 @@ Requires-Dist: pre-commit; extra == "dev"
75
75
  Requires-Dist: setuptools_scm; extra == "dev"
76
76
  Provides-Extra: napari
77
77
  Requires-Dist: napari[pyside2]; extra == "napari"
78
- Requires-Dist: brainglobe-napari-io; extra == "napari"
79
- Requires-Dist: cellfinder-napari; 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
+ ---
80
89
 
81
90
  [![Python Version](https://img.shields.io/pypi/pyversions/cellfinder.svg)](https://pypi.org/project/cellfinder)
82
91
  [![PyPI](https://img.shields.io/pypi/v/cellfinder.svg)](https://pypi.org/project/cellfinder)
@@ -1,9 +1,9 @@
1
1
  brainreg>=1.0.0
2
- cellfinder-core>=0.2.4
2
+ cellfinder-core<1.0.0,>=0.2.4
3
3
  configobj
4
4
  fancylog>=0.0.7
5
5
  imio
6
- brainglobe-utils>=0.2.5
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
@@ -23,11 +23,11 @@ classifiers = [
23
23
  ]
24
24
  dependencies = [
25
25
  "brainreg>=1.0.0",
26
- "cellfinder-core>=0.2.4",
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 = ["napari[pyside2]", "brainglobe-napari-io", "cellfinder-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"
@@ -1,7 +0,0 @@
1
- from importlib.metadata import metadata
2
-
3
- __version__ = metadata("cellfinder")["version"]
4
- __author__ = metadata("cellfinder")["author-email"]
5
- __license__ = metadata("cellfinder")["license"]
6
-
7
- del metadata
File without changes
File without changes
File without changes
File without changes