spacr 0.1.61__py3-none-any.whl → 0.1.63__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/gui_elements.py +5 -3
- spacr/measure.py +2 -1
- {spacr-0.1.61.dist-info → spacr-0.1.63.dist-info}/METADATA +1 -1
- {spacr-0.1.61.dist-info → spacr-0.1.63.dist-info}/RECORD +8 -8
- {spacr-0.1.61.dist-info → spacr-0.1.63.dist-info}/LICENSE +0 -0
- {spacr-0.1.61.dist-info → spacr-0.1.63.dist-info}/WHEEL +0 -0
- {spacr-0.1.61.dist-info → spacr-0.1.63.dist-info}/entry_points.txt +0 -0
- {spacr-0.1.61.dist-info → spacr-0.1.63.dist-info}/top_level.txt +0 -0
spacr/gui_elements.py
CHANGED
@@ -101,9 +101,11 @@ class spacrButton(tk.Frame):
|
|
101
101
|
super().__init__(parent, *args, **kwargs)
|
102
102
|
self.text = text
|
103
103
|
self.command = command
|
104
|
-
screen_height = self.winfo_screenheight()
|
105
|
-
button_height = screen_height // 50
|
106
|
-
button_width = button_height * 3
|
104
|
+
#screen_height = self.winfo_screenheight()
|
105
|
+
button_height = 50 #screen_height // 50
|
106
|
+
button_width = 140 #button_height * 3
|
107
|
+
|
108
|
+
#print(button_height, button_width)
|
107
109
|
|
108
110
|
# Increase the canvas size to accommodate the button and the rim
|
109
111
|
self.canvas = tk.Canvas(self, width=button_width + 4, height=button_height + 4, highlightthickness=0, bg="black")
|
spacr/measure.py
CHANGED
@@ -625,7 +625,8 @@ def _measure_crop_core(index, time_ls, file, settings):
|
|
625
625
|
data_type_before = data_type
|
626
626
|
data = data.astype(np.uint16)
|
627
627
|
data_type = data.dtype
|
628
|
-
|
628
|
+
if settings['verbose']:
|
629
|
+
print(f'Converted data from {data_type_before} to {data_type}')
|
629
630
|
|
630
631
|
if settings['save_measurements']:
|
631
632
|
os.makedirs(source_folder+'/measurements', exist_ok=True)
|
@@ -24,7 +24,7 @@ spacr/gui_2.py,sha256=ZAI5quQYbhQJ40vK0NCqU_UMSPLkpfeQpomBWUSM0fc,6946
|
|
24
24
|
spacr/gui_annotate.py,sha256=ugBksLGOHdtOLlEuRyyc59TrkYKu3rDf8JxEgiBSVao,6536
|
25
25
|
spacr/gui_classify_app.py,sha256=Zi15ryc1ocYitRF4kyxlC27XxGyzfSPdvj2d6ZrSh7E,8446
|
26
26
|
spacr/gui_core.py,sha256=itgdS6bokEi2ouRMTKjB6T3TnMyUaAPHNTscAEsq4jE,28401
|
27
|
-
spacr/gui_elements.py,sha256=
|
27
|
+
spacr/gui_elements.py,sha256=WoDrxZg8bzIw5G-WsXG4ek-62cMsU6z0zyn_1P9CX7E,15063
|
28
28
|
spacr/gui_make_masks_app.py,sha256=tl4M4Q2WQgrrwjRBJVevxJxpNowqzPhWkdCOm2UfRbw,45053
|
29
29
|
spacr/gui_make_masks_app_v2.py,sha256=X3izTBXdCZDlkVe-fbG-jmCQtcAbmK0OIivjyWaLhug,30576
|
30
30
|
spacr/gui_mask_app.py,sha256=mhTl_XzXLFl8Tx3WYEMpdYB_qw9u5JJa0EdkvlcIzAE,10706
|
@@ -38,7 +38,7 @@ spacr/logger.py,sha256=7Zqr3TuuOQLWT32gYr2q1qvv7x0a2JhLANmZcnBXAW8,670
|
|
38
38
|
spacr/make_masks_app.py,sha256=iGaTwhowoe2JMOSOf8bJwQZTooRhLQx7KO0ewnAmqDY,45138
|
39
39
|
spacr/make_masks_app_v2.py,sha256=X3izTBXdCZDlkVe-fbG-jmCQtcAbmK0OIivjyWaLhug,30576
|
40
40
|
spacr/mask_app.py,sha256=mhTl_XzXLFl8Tx3WYEMpdYB_qw9u5JJa0EdkvlcIzAE,10706
|
41
|
-
spacr/measure.py,sha256=
|
41
|
+
spacr/measure.py,sha256=J86jT6Kns3_OdUtlKOXT07vtHKFF8g-VRAM9oSCMOto,55776
|
42
42
|
spacr/measure_app.py,sha256=_C1-XFL5HSquUEEbM_NcxdvHx-socPFCx85MBG4d6xo,10598
|
43
43
|
spacr/old_code.py,sha256=jw67DAGoLBd7mWofVzRJSEmCI1Qrff26zIo65SEkV00,13817
|
44
44
|
spacr/plot.py,sha256=DYJEoK1kz2ih6ZGvKiA3xTqeIeKQNhuQKwgrscopFxA,69101
|
@@ -52,9 +52,9 @@ spacr/version.py,sha256=axH5tnGwtgSnJHb5IDhiu4Zjk5GhLyAEDRe-rnaoFOA,409
|
|
52
52
|
spacr/models/cp/toxo_plaque_cyto_e25000_X1120_Y1120.CP_model,sha256=z8BbHWZPRnE9D_BHO0fBREE85c1vkltDs-incs2ytXQ,26566572
|
53
53
|
spacr/models/cp/toxo_plaque_cyto_e25000_X1120_Y1120.CP_model_settings.csv,sha256=fBAGuL_B8ERVdVizO3BHozTDSbZUh1yFzsYK3wkQN68,420
|
54
54
|
spacr/models/cp/toxo_pv_lumen.CP_model,sha256=2y_CindYhmTvVwBH39SNILF3rI3x9SsRn6qrMxHy3l0,26562451
|
55
|
-
spacr-0.1.
|
56
|
-
spacr-0.1.
|
57
|
-
spacr-0.1.
|
58
|
-
spacr-0.1.
|
59
|
-
spacr-0.1.
|
60
|
-
spacr-0.1.
|
55
|
+
spacr-0.1.63.dist-info/LICENSE,sha256=SR-2MeGc6SCM1UORJYyarSWY_A-JaOMFDj7ReSs9tRM,1083
|
56
|
+
spacr-0.1.63.dist-info/METADATA,sha256=NEHsK7zKoEQ8c2-Pe4lPmP7i3bTfWMz6Ain0mRfQDjM,5050
|
57
|
+
spacr-0.1.63.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
58
|
+
spacr-0.1.63.dist-info/entry_points.txt,sha256=BMC0ql9aNNpv8lUZ8sgDLQMsqaVnX5L535gEhKUP5ho,296
|
59
|
+
spacr-0.1.63.dist-info/top_level.txt,sha256=GJPU8FgwRXGzKeut6JopsSRY2R8T3i9lDgya42tLInY,6
|
60
|
+
spacr-0.1.63.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|