cellfinder 0.7.1__py3-none-any.whl → 0.8.0__py3-none-any.whl

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/main.py CHANGED
@@ -42,7 +42,7 @@ def cells_exist(points_file):
42
42
 
43
43
  def main():
44
44
  suppress_tf_logging(tf_suppress_log_messages)
45
- from brainreg.main import main as register
45
+ from brainreg.core.main import main as register
46
46
 
47
47
  from cellfinder.tools import prep
48
48
 
@@ -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,
cellfinder/tools/prep.py CHANGED
@@ -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
cellfinder/tools/tools.py CHANGED
@@ -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 type(array_size) is tuple:
83
+ if isinstance(array_size, tuple):
84
84
  bins = [int(size / binning) for size in array_size]
85
- elif type(array_size) is dict:
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.7.1
3
+ Version: 0.8.0
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,10 +48,10 @@ 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.8
51
+ Requires-Python: >=3.9
52
52
  Description-Content-Type: text/markdown
53
53
  License-File: LICENSE
54
- Requires-Dist: brainreg
54
+ Requires-Dist: brainreg >=1.0.0
55
55
  Requires-Dist: cellfinder-core >=0.2.4
56
56
  Requires-Dist: configobj
57
57
  Requires-Dist: fancylog >=0.0.7
@@ -1,5 +1,5 @@
1
1
  cellfinder/__init__.py,sha256=TOTszmwu6-ukckrUEstKsi1A0Yt6aue2P5OPE2NVt0U,203
2
- cellfinder/main.py,sha256=tMuq_GWHs8dsEew0RwwwKeDsFby9sZXvv5rSE354E5E,7385
2
+ cellfinder/main.py,sha256=pIWLWp-rGp2-xDf6E9ehXyt9mjJMYTW8I0KWjBWCq4o,7390
3
3
  cellfinder/analyse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  cellfinder/analyse/analyse.py,sha256=8Wf3nUpBqGdu2PuJFIzdHHDnrkSDsk0WZRUj5COCaM0,11010
5
5
  cellfinder/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -13,13 +13,13 @@ cellfinder/figures/figures.py,sha256=ughsNeTM6YnBtRakNfMB_jmPOTzaOgpqFdb28SZH4Ts
13
13
  cellfinder/figures/heatmap.py,sha256=ayKbv-vDhnpdv5vYIayEwzDmU_rmyzPQ7TknRvcouec,1951
14
14
  cellfinder/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  cellfinder/tools/image_processing.py,sha256=z27bGjf3Iv3G4Nt1OYzpEnIYQNc4nNomj_QitqvZB78,2269
16
- cellfinder/tools/parser.py,sha256=1kwryFA7hEBKrsbXkW0iEl03AAGqi4Ss7RkCkv9-l_c,13567
17
- cellfinder/tools/prep.py,sha256=bCEdUCsq_1sew_owuCCtEPn3YlEvTRu9WbePLzqGUk4,11119
16
+ cellfinder/tools/parser.py,sha256=7FJFUi3OJcSpuXm1ikZIJIFen2_Y8FtI-13T-ZIzGiI,13577
17
+ cellfinder/tools/prep.py,sha256=7SqxBdzP4U3tH4oWkYo7vnC79tgqLS5PTDW-KWwjyt4,11124
18
18
  cellfinder/tools/system.py,sha256=6iSOLrz2mtKgOIdwjp_VS0-74XQCuaQYCvWAViJgEus,2232
19
- cellfinder/tools/tools.py,sha256=0HqnTg0S1avKMQtb2SkiG43jvLTa-QhxNlujvztpubI,3627
20
- cellfinder-0.7.1.dist-info/LICENSE,sha256=zyXpitCrNwvc33VKBFomd9v6Ahi9x1H5fvfXDxCblM0,1525
21
- cellfinder-0.7.1.dist-info/METADATA,sha256=GzaIqCrsGAmKt1s24VnidfuxXzdqVM13Tuzwz2fzi5o,11626
22
- cellfinder-0.7.1.dist-info/WHEEL,sha256=5sUXSg9e4bi7lTLOHcm6QEYwO5TIF1TNbTSVFVjcJcc,92
23
- cellfinder-0.7.1.dist-info/entry_points.txt,sha256=n3M2y93q1QNL0MnYqyaJ5yWl8j4YJ-OHitghTwiGuvk,52
24
- cellfinder-0.7.1.dist-info/top_level.txt,sha256=jyTQzX-tDjbsMr6s-E71Oy0IKQzmHTXSk4ZhpG5EDSE,11
25
- cellfinder-0.7.1.dist-info/RECORD,,
19
+ cellfinder/tools/tools.py,sha256=Km4Y1p3yQOYi_dyTOZthJXcvUintIzTUYwDkuXGNc0A,3635
20
+ cellfinder-0.8.0.dist-info/LICENSE,sha256=zyXpitCrNwvc33VKBFomd9v6Ahi9x1H5fvfXDxCblM0,1525
21
+ cellfinder-0.8.0.dist-info/METADATA,sha256=LiFR_CUo5hxSYUBO4Un2NrdWc50ymOuym472Syi63ss,11634
22
+ cellfinder-0.8.0.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
23
+ cellfinder-0.8.0.dist-info/entry_points.txt,sha256=n3M2y93q1QNL0MnYqyaJ5yWl8j4YJ-OHitghTwiGuvk,52
24
+ cellfinder-0.8.0.dist-info/top_level.txt,sha256=jyTQzX-tDjbsMr6s-E71Oy0IKQzmHTXSk4ZhpG5EDSE,11
25
+ cellfinder-0.8.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.1)
2
+ Generator: bdist_wheel (0.41.3)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5