celldetective 1.2.0__py3-none-any.whl → 1.2.2__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.
- celldetective/__main__.py +12 -5
- celldetective/events.py +28 -2
- celldetective/gui/about.py +0 -1
- celldetective/gui/analyze_block.py +3 -18
- celldetective/gui/btrack_options.py +126 -21
- celldetective/gui/classifier_widget.py +68 -107
- celldetective/gui/configure_new_exp.py +37 -4
- celldetective/gui/control_panel.py +14 -30
- celldetective/gui/generic_signal_plot.py +793 -0
- celldetective/gui/gui_utils.py +401 -226
- celldetective/gui/json_readers.py +0 -2
- celldetective/gui/layouts.py +269 -25
- celldetective/gui/measurement_options.py +14 -23
- celldetective/gui/neighborhood_options.py +6 -16
- celldetective/gui/plot_measurements.py +10 -23
- celldetective/gui/plot_signals_ui.py +53 -687
- celldetective/gui/process_block.py +320 -186
- celldetective/gui/retrain_segmentation_model_options.py +30 -47
- celldetective/gui/retrain_signal_model_options.py +5 -14
- celldetective/gui/seg_model_loader.py +129 -113
- celldetective/gui/signal_annotator.py +93 -103
- celldetective/gui/signal_annotator2.py +9 -13
- celldetective/gui/styles.py +32 -0
- celldetective/gui/survival_ui.py +49 -712
- celldetective/gui/tableUI.py +4 -39
- celldetective/gui/thresholds_gui.py +38 -11
- celldetective/gui/viewers.py +6 -7
- celldetective/io.py +62 -84
- celldetective/measure.py +374 -15
- celldetective/models/segmentation_effectors/ricm-bimodal/config_input.json +130 -0
- celldetective/models/segmentation_effectors/ricm-bimodal/ricm-bimodal +0 -0
- celldetective/models/segmentation_effectors/ricm-bimodal/training_instructions.json +37 -0
- celldetective/neighborhood.py +3 -7
- celldetective/preprocessing.py +2 -4
- celldetective/relative_measurements.py +0 -3
- celldetective/scripts/analyze_signals.py +0 -1
- celldetective/scripts/measure_cells.py +1 -3
- celldetective/scripts/measure_relative.py +1 -2
- celldetective/scripts/segment_cells.py +16 -12
- celldetective/scripts/segment_cells_thresholds.py +17 -10
- celldetective/scripts/track_cells.py +18 -18
- celldetective/scripts/train_segmentation_model.py +1 -2
- celldetective/scripts/train_signal_model.py +0 -3
- celldetective/segmentation.py +1 -1
- celldetective/signals.py +20 -8
- celldetective/tracking.py +2 -1
- celldetective/utils.py +126 -18
- {celldetective-1.2.0.dist-info → celldetective-1.2.2.dist-info}/METADATA +19 -12
- celldetective-1.2.2.dist-info/RECORD +92 -0
- {celldetective-1.2.0.dist-info → celldetective-1.2.2.dist-info}/WHEEL +1 -1
- celldetective-1.2.0.dist-info/RECORD +0 -88
- {celldetective-1.2.0.dist-info → celldetective-1.2.2.dist-info}/LICENSE +0 -0
- {celldetective-1.2.0.dist-info → celldetective-1.2.2.dist-info}/entry_points.txt +0 -0
- {celldetective-1.2.0.dist-info → celldetective-1.2.2.dist-info}/top_level.txt +0 -0
celldetective/gui/styles.py
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
from celldetective.utils import get_software_location
|
|
2
|
+
from PyQt5.QtGui import QIcon
|
|
3
|
+
import os
|
|
4
|
+
|
|
1
5
|
class Styles(object):
|
|
2
6
|
|
|
3
7
|
def __init__(self):
|
|
@@ -6,7 +10,11 @@ class Styles(object):
|
|
|
6
10
|
self.init_tab_styles()
|
|
7
11
|
self.init_label_styles()
|
|
8
12
|
|
|
13
|
+
self.help_color = "#1958b7"
|
|
14
|
+
|
|
15
|
+
|
|
9
16
|
self.celldetective_blue = "#1565c0"
|
|
17
|
+
self.celldetective_icon = QIcon(os.sep.join([get_software_location(),'celldetective','icons','logo.png']))
|
|
10
18
|
|
|
11
19
|
self.action_lbl_style_sheet = """
|
|
12
20
|
font-size: 10px;
|
|
@@ -65,6 +73,30 @@ class Styles(object):
|
|
|
65
73
|
|
|
66
74
|
'''
|
|
67
75
|
|
|
76
|
+
self.button_style_sheet_5 = '''
|
|
77
|
+
QPushButton {
|
|
78
|
+
background-color: transparent;
|
|
79
|
+
border: 3px solid #1565c0;
|
|
80
|
+
color: #000000;
|
|
81
|
+
border-radius: 15px;
|
|
82
|
+
padding: 7px;
|
|
83
|
+
font-size: 12px;
|
|
84
|
+
}
|
|
85
|
+
QPushButton:hover {
|
|
86
|
+
background-color: #ecf0f1;
|
|
87
|
+
}
|
|
88
|
+
QPushButton:pressed {
|
|
89
|
+
background-color: #ff8a00;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
QPushButton:disabled {
|
|
93
|
+
border: 3px solid rgba(21, 101, 192, 0.50);
|
|
94
|
+
color: rgba(21, 101, 192, 0.50);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
'''
|
|
98
|
+
|
|
99
|
+
|
|
68
100
|
self.button_style_sheet_2_not_done = '''
|
|
69
101
|
QPushButton {
|
|
70
102
|
background-color: transparent;
|