spacr 0.2.1__tar.gz → 0.2.21__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.
Files changed (86) hide show
  1. {spacr-0.2.1/spacr.egg-info → spacr-0.2.21}/PKG-INFO +1 -1
  2. {spacr-0.2.1 → spacr-0.2.21}/setup.py +1 -1
  3. {spacr-0.2.1 → spacr-0.2.21}/spacr/gui.py +2 -1
  4. {spacr-0.2.1 → spacr-0.2.21}/spacr/gui_elements.py +2 -7
  5. spacr-0.2.21/spacr/resources/icons/abort.png +0 -0
  6. spacr-0.2.21/spacr/resources/icons/cellpose_masks.png +0 -0
  7. spacr-0.2.21/spacr/resources/icons/classify.png +0 -0
  8. spacr-0.2.21/spacr/resources/icons/make_masks.png +0 -0
  9. spacr-0.2.21/spacr/resources/icons/mask.png +0 -0
  10. spacr-0.2.21/spacr/resources/icons/measure.png +0 -0
  11. spacr-0.2.21/spacr/resources/icons/recruitment.png +0 -0
  12. spacr-0.2.21/spacr/resources/icons/regression.png +0 -0
  13. spacr-0.2.21/spacr/resources/icons/run.png +0 -0
  14. spacr-0.2.21/spacr/resources/icons/umap.png +0 -0
  15. {spacr-0.2.1 → spacr-0.2.21/spacr.egg-info}/PKG-INFO +1 -1
  16. {spacr-0.2.1 → spacr-0.2.21}/spacr.egg-info/SOURCES.txt +2 -0
  17. spacr-0.2.1/spacr/resources/icons/abort.png +0 -0
  18. spacr-0.2.1/spacr/resources/icons/classify.png +0 -0
  19. spacr-0.2.1/spacr/resources/icons/make_masks.png +0 -0
  20. spacr-0.2.1/spacr/resources/icons/mask.png +0 -0
  21. spacr-0.2.1/spacr/resources/icons/measure.png +0 -0
  22. spacr-0.2.1/spacr/resources/icons/regression.png +0 -0
  23. spacr-0.2.1/spacr/resources/icons/run.png +0 -0
  24. spacr-0.2.1/spacr/resources/icons/umap.png +0 -0
  25. {spacr-0.2.1 → spacr-0.2.21}/LICENSE +0 -0
  26. {spacr-0.2.1 → spacr-0.2.21}/MANIFEST.in +0 -0
  27. {spacr-0.2.1 → spacr-0.2.21}/README.rst +0 -0
  28. {spacr-0.2.1 → spacr-0.2.21}/setup.cfg +0 -0
  29. {spacr-0.2.1 → spacr-0.2.21}/spacr/__init__.py +0 -0
  30. {spacr-0.2.1 → spacr-0.2.21}/spacr/__main__.py +0 -0
  31. {spacr-0.2.1 → spacr-0.2.21}/spacr/app_annotate.py +0 -0
  32. {spacr-0.2.1 → spacr-0.2.21}/spacr/app_classify.py +0 -0
  33. {spacr-0.2.1 → spacr-0.2.21}/spacr/app_make_masks.py +0 -0
  34. {spacr-0.2.1 → spacr-0.2.21}/spacr/app_mask.py +0 -0
  35. {spacr-0.2.1 → spacr-0.2.21}/spacr/app_measure.py +0 -0
  36. {spacr-0.2.1 → spacr-0.2.21}/spacr/app_sequencing.py +0 -0
  37. {spacr-0.2.1 → spacr-0.2.21}/spacr/app_umap.py +0 -0
  38. {spacr-0.2.1 → spacr-0.2.21}/spacr/chris.py +0 -0
  39. {spacr-0.2.1 → spacr-0.2.21}/spacr/core.py +0 -0
  40. {spacr-0.2.1 → spacr-0.2.21}/spacr/deep_spacr.py +0 -0
  41. {spacr-0.2.1 → spacr-0.2.21}/spacr/graph_learning.py +0 -0
  42. {spacr-0.2.1 → spacr-0.2.21}/spacr/gui_core.py +0 -0
  43. {spacr-0.2.1 → spacr-0.2.21}/spacr/gui_utils.py +0 -0
  44. {spacr-0.2.1 → spacr-0.2.21}/spacr/io.py +0 -0
  45. {spacr-0.2.1 → spacr-0.2.21}/spacr/logger.py +0 -0
  46. {spacr-0.2.1 → spacr-0.2.21}/spacr/measure.py +0 -0
  47. {spacr-0.2.1 → spacr-0.2.21}/spacr/plot.py +0 -0
  48. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/icons/annotate.png +0 -0
  49. /spacr-0.2.1/spacr/resources/icons/cellpose_masks.png → /spacr-0.2.21/spacr/resources/icons/cellpose_all.png +0 -0
  50. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/icons/default.png +0 -0
  51. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/icons/download.png +0 -0
  52. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/icons/logo_spacr.png +0 -0
  53. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/icons/map_barcodes.png +0 -0
  54. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/icons/sequencing.png +0 -0
  55. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/icons/settings.png +0 -0
  56. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/icons/train_cellpose.png +0 -0
  57. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/models/cp/toxo_plaque_cyto_e25000_X1120_Y1120.CP_model +0 -0
  58. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/models/cp/toxo_plaque_cyto_e25000_X1120_Y1120.CP_model_settings.csv +0 -0
  59. {spacr-0.2.1 → spacr-0.2.21}/spacr/resources/models/cp/toxo_pv_lumen.CP_model +0 -0
  60. {spacr-0.2.1 → spacr-0.2.21}/spacr/sequencing.py +0 -0
  61. {spacr-0.2.1 → spacr-0.2.21}/spacr/settings.py +0 -0
  62. {spacr-0.2.1 → spacr-0.2.21}/spacr/sim.py +0 -0
  63. {spacr-0.2.1 → spacr-0.2.21}/spacr/sim_app.py +0 -0
  64. {spacr-0.2.1 → spacr-0.2.21}/spacr/timelapse.py +0 -0
  65. {spacr-0.2.1 → spacr-0.2.21}/spacr/utils.py +0 -0
  66. {spacr-0.2.1 → spacr-0.2.21}/spacr/version.py +0 -0
  67. {spacr-0.2.1 → spacr-0.2.21}/spacr.egg-info/dependency_links.txt +0 -0
  68. {spacr-0.2.1 → spacr-0.2.21}/spacr.egg-info/entry_points.txt +0 -0
  69. {spacr-0.2.1 → spacr-0.2.21}/spacr.egg-info/requires.txt +0 -0
  70. {spacr-0.2.1 → spacr-0.2.21}/spacr.egg-info/top_level.txt +0 -0
  71. {spacr-0.2.1 → spacr-0.2.21}/tests/test_annotate_app.py +0 -0
  72. {spacr-0.2.1 → spacr-0.2.21}/tests/test_core.py +0 -0
  73. {spacr-0.2.1 → spacr-0.2.21}/tests/test_gui_classify_app.py +0 -0
  74. {spacr-0.2.1 → spacr-0.2.21}/tests/test_gui_mask_app.py +0 -0
  75. {spacr-0.2.1 → spacr-0.2.21}/tests/test_gui_measure_app.py +0 -0
  76. {spacr-0.2.1 → spacr-0.2.21}/tests/test_gui_sim_app.py +0 -0
  77. {spacr-0.2.1 → spacr-0.2.21}/tests/test_gui_utils.py +0 -0
  78. {spacr-0.2.1 → spacr-0.2.21}/tests/test_io.py +0 -0
  79. {spacr-0.2.1 → spacr-0.2.21}/tests/test_mask_app.py +0 -0
  80. {spacr-0.2.1 → spacr-0.2.21}/tests/test_measure.py +0 -0
  81. {spacr-0.2.1 → spacr-0.2.21}/tests/test_plot.py +0 -0
  82. {spacr-0.2.1 → spacr-0.2.21}/tests/test_sim.py +0 -0
  83. {spacr-0.2.1 → spacr-0.2.21}/tests/test_timelapse.py +0 -0
  84. {spacr-0.2.1 → spacr-0.2.21}/tests/test_train.py +0 -0
  85. {spacr-0.2.1 → spacr-0.2.21}/tests/test_umap.py +0 -0
  86. {spacr-0.2.1 → spacr-0.2.21}/tests/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spacr
3
- Version: 0.2.1
3
+ Version: 0.2.21
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
@@ -50,7 +50,7 @@ dependencies = [
50
50
 
51
51
  setup(
52
52
  name="spacr",
53
- version="0.2.1",
53
+ version="0.2.21",
54
54
  author="Einar Birnir Olafsson",
55
55
  author_email="olafsson@med.umich.com",
56
56
  description="Spatial phenotype analysis of crisp screens (SpaCr)",
@@ -97,7 +97,7 @@ class MainApp(tk.Tk):
97
97
  # Load the logo image and place it in the main apps row
98
98
  logo_button = spacrButton(main_buttons_frame, text="SpaCr", command=lambda: self.load_app("logo_spacr", initiate_root), icon_name="logo_spacr", size=100, show_text=False)
99
99
  logo_button.grid(row=0, column=0, padx=5, pady=5)
100
- self.main_buttons[logo_button] = "SpaCr: An advanced application suite for cellpose masks, measurements, annotations, and more."
100
+ self.main_buttons[logo_button] = "SpaCr provides a flexible toolset to extract single-cell images and measurements from high-content cell painting experiments, train deep-learning models to classify cellular/subcellular phenotypes, simulate, and analyze pooled CRISPR-Cas9 imaging screens.."
101
101
 
102
102
  # Create icon buttons for the main apps
103
103
  for i, (app_name, app_data) in enumerate(self.main_gui_apps.items()):
@@ -115,6 +115,7 @@ class MainApp(tk.Tk):
115
115
 
116
116
  # Update description initially
117
117
  self.update_description()
118
+ #
118
119
 
119
120
  def update_description(self):
120
121
  # Check all buttons and update description if any has the active color
@@ -18,11 +18,6 @@ from tkinter import ttk, scrolledtext
18
18
  import platform
19
19
 
20
20
  def set_dark_style(style, parent_frame=None, containers=None, widgets=None, font_family="Arial", font_size=12, bg_color='black', fg_color='white', active_color='blue', inactive_color='dark_gray'):
21
-
22
- if platform.system() == 'Darwin':
23
- bg_color = '#313131'
24
- else:
25
- bg_color = '#000000'
26
21
 
27
22
  if active_color == 'teal':
28
23
  active_color = '#008080'
@@ -35,6 +30,7 @@ def set_dark_style(style, parent_frame=None, containers=None, widgets=None, font
35
30
  if active_color == 'blue':
36
31
  active_color = '#007BFF'
37
32
 
33
+ style.theme_use('clam')
38
34
  font_style = tkFont.Font(family=font_family, size=font_size)
39
35
  style.configure('TEntry', padding='5 5 5 5', borderwidth=1, relief='solid', fieldbackground=bg_color, foreground=fg_color, font=font_style)
40
36
  style.configure('TCombobox', fieldbackground=bg_color, background=bg_color, foreground=fg_color, selectbackground=bg_color, selectforeground=fg_color, font=font_style)
@@ -308,7 +304,7 @@ class spacrButton(tk.Frame):
308
304
  parent = self.master
309
305
  while parent:
310
306
  if hasattr(parent, 'show_description'):
311
- parent.show_description(parent.main_buttons.get(self, "No description available."))
307
+ parent.show_description(parent.main_buttons.get(self, parent.additional_buttons.get(self, "No description available.")))
312
308
  return
313
309
  parent = parent.master
314
310
 
@@ -343,7 +339,6 @@ class spacrButton(tk.Frame):
343
339
  self.canvas.itemconfig(self.button_icon, image=self.icon_photo)
344
340
  self.canvas.image = self.icon_photo # Keep a reference to avoid garbage collection
345
341
 
346
-
347
342
  class spacrSwitch(ttk.Frame):
348
343
  def __init__(self, parent, text="", variable=None, command=None, *args, **kwargs):
349
344
  super().__init__(parent, *args, **kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spacr
3
- Version: 0.2.1
3
+ Version: 0.2.21
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
@@ -38,6 +38,7 @@ spacr.egg-info/requires.txt
38
38
  spacr.egg-info/top_level.txt
39
39
  spacr/resources/icons/abort.png
40
40
  spacr/resources/icons/annotate.png
41
+ spacr/resources/icons/cellpose_all.png
41
42
  spacr/resources/icons/cellpose_masks.png
42
43
  spacr/resources/icons/classify.png
43
44
  spacr/resources/icons/default.png
@@ -47,6 +48,7 @@ spacr/resources/icons/make_masks.png
47
48
  spacr/resources/icons/map_barcodes.png
48
49
  spacr/resources/icons/mask.png
49
50
  spacr/resources/icons/measure.png
51
+ spacr/resources/icons/recruitment.png
50
52
  spacr/resources/icons/regression.png
51
53
  spacr/resources/icons/run.png
52
54
  spacr/resources/icons/sequencing.png
Binary file
Binary file
Binary file
Binary file
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
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