cellfinder 1.1.2__py3-none-any.whl → 1.1.3__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.

@@ -2,6 +2,7 @@ import os
2
2
  import shutil
3
3
  import tarfile
4
4
  import urllib.request
5
+ from pathlib import Path
5
6
 
6
7
  from brainglobe_utils.general.config import get_config_obj
7
8
  from brainglobe_utils.general.system import disk_free_gb
@@ -124,5 +125,8 @@ def write_model_to_config(new_model_path, orig_config, custom_config):
124
125
  data[i] = line.replace(
125
126
  f"model_path = '{orig_path}", f"model_path = '{new_model_path}"
126
127
  )
128
+
129
+ custom_config_path = Path(custom_config)
130
+ custom_config_path.parent.mkdir(parents=True, exist_ok=True)
127
131
  with open(custom_config, "w") as out_conf:
128
132
  out_conf.writelines(data)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cellfinder
3
- Version: 1.1.2
3
+ Version: 1.1.3
4
4
  Summary: Automated 3D cell detection in large microscopy images
5
5
  Author-email: "Adam Tyson, Christian Niedworok, Charly Rousseau" <code@adamltyson.com>
6
6
  License: BSD-3-Clause
@@ -26,7 +26,7 @@ cellfinder/core/detect/filters/volume/structure_splitting.py,sha256=VuXKAOHG6f63
26
26
  cellfinder/core/detect/filters/volume/volume_filter.py,sha256=nBc9kZhsZ2jsyuzizXcx6s0i5-Vc7BfUfDqtIxhGUSo,6873
27
27
  cellfinder/core/download/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  cellfinder/core/download/cli.py,sha256=uejrDBoveybeyMq-tcn8460r2Hf3iC1FhpEC2sXs7EI,1807
29
- cellfinder/core/download/download.py,sha256=k7DZwox6UWhL4Efz1CK0VqG6jNVkotcomKHMZIlunTQ,3797
29
+ cellfinder/core/download/download.py,sha256=oKxo6Ch3wCAbVmyzjvIhnaSUb0sF5P8mJYGbJCU9Gag,3933
30
30
  cellfinder/core/download/models.py,sha256=mLb6wAUn-tH1FtgvQU6ooLXqXetTP4D5Jd4_gPN-kJo,1359
31
31
  cellfinder/core/tools/IO.py,sha256=q-euCP1s3iuWYvD2V72sPSBfwr5A1ETcL6Z_K41mLV0,1235
32
32
  cellfinder/core/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -55,9 +55,9 @@ cellfinder/napari/images/brainglobe.png,sha256=IT2zfikD2vKTOg--e6bMRHr5mC2x3s-eO
55
55
  cellfinder/napari/train/__init__.py,sha256=xo4CK-DvSecInGEc2ohcTgQYlH3iylFnGvKTCoq2WkI,35
56
56
  cellfinder/napari/train/train.py,sha256=Cv8ivPWZoJJ-Iq1vW1JUmViaSnBPeqs07jBvZfOZQLc,6061
57
57
  cellfinder/napari/train/train_containers.py,sha256=mYI_M1QssWgPBpkqViqgj1Ls32lVRUAjt6OGTqcrKI4,4390
58
- cellfinder-1.1.2.dist-info/LICENSE,sha256=Tw8iMytIDXLSmcIUsbQmRWojstl9yOWsPCx6ZT6dZLY,1564
59
- cellfinder-1.1.2.dist-info/METADATA,sha256=uP0C6fbKBWInZTmOxAfR24SIgOomzbvZZW82CYjXYXI,6652
60
- cellfinder-1.1.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
61
- cellfinder-1.1.2.dist-info/entry_points.txt,sha256=cKKjU8GPiN-TRelG2sT2JCKAcB9XDCjP6g9atE9pSoY,247
62
- cellfinder-1.1.2.dist-info/top_level.txt,sha256=jyTQzX-tDjbsMr6s-E71Oy0IKQzmHTXSk4ZhpG5EDSE,11
63
- cellfinder-1.1.2.dist-info/RECORD,,
58
+ cellfinder-1.1.3.dist-info/LICENSE,sha256=Tw8iMytIDXLSmcIUsbQmRWojstl9yOWsPCx6ZT6dZLY,1564
59
+ cellfinder-1.1.3.dist-info/METADATA,sha256=znQeFj56Dxn2pna6L-ZYb98Ht8c5akgzcYhzhDu7YgI,6652
60
+ cellfinder-1.1.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
61
+ cellfinder-1.1.3.dist-info/entry_points.txt,sha256=cKKjU8GPiN-TRelG2sT2JCKAcB9XDCjP6g9atE9pSoY,247
62
+ cellfinder-1.1.3.dist-info/top_level.txt,sha256=jyTQzX-tDjbsMr6s-E71Oy0IKQzmHTXSk4ZhpG5EDSE,11
63
+ cellfinder-1.1.3.dist-info/RECORD,,