spacr 0.9.3__py3-none-any.whl → 0.9.4__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.
spacr/io.py CHANGED
@@ -1587,7 +1587,7 @@ def preprocess_img_data(settings):
1587
1587
  print(f"Found {extension_counts[most_common_extension]} {most_common_extension} files")
1588
1588
 
1589
1589
  else:
1590
- print(f"Could not find any {valid_ext} files in {src} only found {extension_counts[0]}")
1590
+ print(f"Could not find any {valid_ext} files in {src}")
1591
1591
  print(f"{files} in {src}")
1592
1592
  print(f"Please check the folder and try again")
1593
1593
 
spacr/settings.py CHANGED
@@ -1053,7 +1053,7 @@ def check_settings(vars_dict, expected_types, q=None):
1053
1053
  expected_type = expected_types.get(key, str)
1054
1054
 
1055
1055
  try:
1056
- if key in ["cell_plate_metadata", "timelapse_frame_limits", "png_size", "png_dims", "pathogen_plate_metadata", "treatment_plate_metadata", "timelapse_objects", "class_metadata", "crop_mode"]:
1056
+ if key in ["cell_plate_metadata", "timelapse_frame_limits", "png_size", "png_dims", "pathogen_plate_metadata", "treatment_plate_metadata", "timelapse_objects", "class_metadata", "crop_mode", "dialate_png_ratios"]:
1057
1057
  if value is None:
1058
1058
  parsed_value = None
1059
1059
  else:
spacr/sp_stats.py CHANGED
@@ -7,7 +7,6 @@ from scipy.stats import chi2_contingency, fisher_exact
7
7
  import itertools
8
8
  from statsmodels.stats.multitest import multipletests
9
9
 
10
-
11
10
  def choose_p_adjust_method(num_groups, num_data_points):
12
11
  """
13
12
  Selects the most appropriate p-value adjustment method based on data characteristics.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spacr
3
- Version: 0.9.3
3
+ Version: 0.9.4
4
4
  Summary: Spatial phenotype analysis of crisp screens (SpaCr)
5
5
  Home-page: https://github.com/EinarOlafsson/spacr
6
6
  Author: Einar Birnir Olafsson
@@ -13,7 +13,7 @@ License-File: LICENSE
13
13
  Requires-Dist: numpy <2.0,>=1.26.4
14
14
  Requires-Dist: pandas <3.0,>=2.2.1
15
15
  Requires-Dist: scipy <2.0,>=1.12.0
16
- Requires-Dist: cellpose <4.0,>=3.0.6
16
+ Requires-Dist: cellpose <5.0,>=4.0
17
17
  Requires-Dist: scikit-image <1.0,>=0.22.0
18
18
  Requires-Dist: scikit-learn <2.0,>=1.4.1
19
19
  Requires-Dist: scikit-posthocs <0.20,>=0.10.0
@@ -195,6 +195,13 @@ The following example Jupyter notebooks illustrate common workflows using spaCR.
195
195
  - `Finetune cellpose models <https://github.com/EinarOlafsson/spacr/blob/main/Notebooks/5_spacr_train_cellpose.ipynb>`_
196
196
  *Finetune Cellpose models using your own annotated training data for improved segmentation accuracy.*
197
197
 
198
+ Interactive Tutorial (under construction)
199
+ -----------------------------------------
200
+
201
+ Click below to explore the step-by-step GUI and Notebook tutorials for spaCR:
202
+
203
+ `spaCR Tutorial Page <https://einarolafsson.github.io/spacr/tutorial/>`_
204
+
198
205
  License
199
206
  -------
200
207
  spaCR is distributed under the terms of the MIT License.
@@ -14,7 +14,7 @@ spacr/gui.py,sha256=NhMh96KoArrSAaJBV6PhDQpIC1cQpxgb6SclhRbYG8s,8122
14
14
  spacr/gui_core.py,sha256=RtpdB8S8yF9WARRsUjrZ1szZi4ZMfG7R_W34BTBEGYo,52729
15
15
  spacr/gui_elements.py,sha256=OTU7aeLrPiMUTnyCT-J7ygng3beI9tdA0MmypOavEkw,156123
16
16
  spacr/gui_utils.py,sha256=F6KfNY3OqNkvfkOP1rxwBha5IOdLVyBgqZYPw3xPLes,42293
17
- spacr/io.py,sha256=SYLhupKnOJJscNSGE4N67E32-ywhwrjRccIfZrL38Uk,157966
17
+ spacr/io.py,sha256=P6k3BYsy8VM0p7ficy2Ae4xTPb6tZM4xq47pY57-GBk,157933
18
18
  spacr/logger.py,sha256=lJhTqt-_wfAunCPl93xE65Wr9Y1oIHJWaZMjunHUeIw,1538
19
19
  spacr/measure.py,sha256=nYvrfVfCIqD1AUk4QBE2jtpeSFtLdfUcnkhkqf9G4xQ,60877
20
20
  spacr/mediar.py,sha256=p0F515eFbm6_rePSnChsgqrgH-H5Sr_3zWrghtOnAUg,14863
@@ -22,9 +22,9 @@ spacr/ml.py,sha256=XCRZeX7UkbMctQICIoskeWVx8CCmmCoHNauUOAkfFq0,91692
22
22
  spacr/openai.py,sha256=5vBZ3Jl2llYcW3oaTEXgdyCB2aJujMUIO5K038z7w_A,1246
23
23
  spacr/plot.py,sha256=Y1ON8Bu-FsZZZasXIK7nvnOohFzucCvFhyPE2bDGz1A,167340
24
24
  spacr/sequencing.py,sha256=EY12RdW5QRKpHDRQCw1QoAlxCq8FK2v6WoVa5uuDBXQ,26745
25
- spacr/settings.py,sha256=gT0FEP6anfhM6sbFofmLRhOwaQptgpcI18VX6nRqmtQ,87661
25
+ spacr/settings.py,sha256=YpGfMzNgHGpqamfZ0wVoVG64UOb0rW9lfxCc9W4g7Ss,87683
26
26
  spacr/sim.py,sha256=1xKhXimNU3ukzIw-3l9cF3Znc_brW8h20yv8fSTzvss,71173
27
- spacr/sp_stats.py,sha256=mbhwsyIqt5upsSD346qGjdCw7CFBa0tIS7zHU9e0jNI,9536
27
+ spacr/sp_stats.py,sha256=C93Xe5fphQOKthw4Tmj8pHx-Nb1houIL-YYVIfmnQPg,9535
28
28
  spacr/spacr_cellpose.py,sha256=RBHMs2vwXcfkj0xqAULpALyzJYXddSRycgZSzmwI7v0,14755
29
29
  spacr/submodules.py,sha256=Z2i4kv_rWdxqoXsOKCF7BaSXtvaCZB69Ow8_FQBnZsY,83093
30
30
  spacr/timelapse.py,sha256=-5ZupTsCCpbenIQ2zsUmnwXh45B82fO-gPrSXOxu2s8,42980
@@ -103,9 +103,9 @@ spacr/resources/icons/umap.png,sha256=dOLF3DeLYy9k0nkUybiZMe1wzHQwLJFRmgccppw-8b
103
103
  spacr/resources/images/plate1_E01_T0001F001L01A01Z01C02.tif,sha256=Tl0ZUfZ_AYAbu0up_nO0tPRtF1BxXhWQ3T3pURBCCRo,7958528
104
104
  spacr/resources/images/plate1_E01_T0001F001L01A02Z01C01.tif,sha256=m8N-V71rA1TT4dFlENNg8s0Q0YEXXs8slIn7yObmZJQ,7958528
105
105
  spacr/resources/images/plate1_E01_T0001F001L01A03Z01C03.tif,sha256=Pbhk7xn-KUP6RSIhJsxQcrHFImBm3GEpLkzx7WOc-5M,7958528
106
- spacr-0.9.3.dist-info/LICENSE,sha256=t0Pov6pnK8thLteoF4xZGmdCwe5mhNwl3OXxLYTGD9U,1081
107
- spacr-0.9.3.dist-info/METADATA,sha256=67z09Wghste6IUXWFchysvsqH38M6GVnr9IgHYixVNg,10088
108
- spacr-0.9.3.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
109
- spacr-0.9.3.dist-info/entry_points.txt,sha256=BMC0ql9aNNpv8lUZ8sgDLQMsqaVnX5L535gEhKUP5ho,296
110
- spacr-0.9.3.dist-info/top_level.txt,sha256=GJPU8FgwRXGzKeut6JopsSRY2R8T3i9lDgya42tLInY,6
111
- spacr-0.9.3.dist-info/RECORD,,
106
+ spacr-0.9.4.dist-info/LICENSE,sha256=t0Pov6pnK8thLteoF4xZGmdCwe5mhNwl3OXxLYTGD9U,1081
107
+ spacr-0.9.4.dist-info/METADATA,sha256=rEwXv8HSYOVMSYZpzjNXFds9XEIlk0y85AsxsZbGbGc,10324
108
+ spacr-0.9.4.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
109
+ spacr-0.9.4.dist-info/entry_points.txt,sha256=BMC0ql9aNNpv8lUZ8sgDLQMsqaVnX5L535gEhKUP5ho,296
110
+ spacr-0.9.4.dist-info/top_level.txt,sha256=GJPU8FgwRXGzKeut6JopsSRY2R8T3i9lDgya42tLInY,6
111
+ spacr-0.9.4.dist-info/RECORD,,
File without changes
File without changes