celldetective 1.3.3.post1__py3-none-any.whl → 1.3.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.
Files changed (35) hide show
  1. celldetective/__main__.py +30 -4
  2. celldetective/_version.py +1 -1
  3. celldetective/extra_properties.py +21 -0
  4. celldetective/filters.py +15 -2
  5. celldetective/gui/InitWindow.py +28 -34
  6. celldetective/gui/analyze_block.py +3 -498
  7. celldetective/gui/classifier_widget.py +1 -1
  8. celldetective/gui/control_panel.py +98 -27
  9. celldetective/gui/generic_signal_plot.py +35 -18
  10. celldetective/gui/gui_utils.py +143 -2
  11. celldetective/gui/layouts.py +7 -6
  12. celldetective/gui/measurement_options.py +3 -11
  13. celldetective/gui/plot_measurements.py +5 -13
  14. celldetective/gui/plot_signals_ui.py +30 -30
  15. celldetective/gui/process_block.py +61 -103
  16. celldetective/gui/signal_annotator.py +50 -32
  17. celldetective/gui/signal_annotator2.py +7 -4
  18. celldetective/gui/styles.py +13 -0
  19. celldetective/gui/survival_ui.py +8 -21
  20. celldetective/gui/tableUI.py +1 -2
  21. celldetective/gui/thresholds_gui.py +0 -6
  22. celldetective/gui/viewers.py +1 -5
  23. celldetective/io.py +31 -4
  24. celldetective/measure.py +8 -5
  25. celldetective/neighborhood.py +0 -2
  26. celldetective/scripts/measure_cells.py +21 -9
  27. celldetective/signals.py +77 -66
  28. celldetective/tracking.py +19 -13
  29. {celldetective-1.3.3.post1.dist-info → celldetective-1.3.4.dist-info}/METADATA +2 -1
  30. {celldetective-1.3.3.post1.dist-info → celldetective-1.3.4.dist-info}/RECORD +35 -35
  31. tests/test_qt.py +5 -3
  32. {celldetective-1.3.3.post1.dist-info → celldetective-1.3.4.dist-info}/LICENSE +0 -0
  33. {celldetective-1.3.3.post1.dist-info → celldetective-1.3.4.dist-info}/WHEEL +0 -0
  34. {celldetective-1.3.3.post1.dist-info → celldetective-1.3.4.dist-info}/entry_points.txt +0 -0
  35. {celldetective-1.3.3.post1.dist-info → celldetective-1.3.4.dist-info}/top_level.txt +0 -0
@@ -1,48 +1,48 @@
1
1
  celldetective/__init__.py,sha256=bi3SGTMo6s2qQBsJAaKy-a4xaGcTQVW8zsqaiX5XKeY,139
2
- celldetective/__main__.py,sha256=_H9B620ntENFx9RBvlV6ybxpvtHzCbv5NnIPmDBr9Z0,1127
3
- celldetective/_version.py,sha256=mDV9xbwx4cdW0zTkJ0d0anqj6e9ntj3IW5BlFM6Gw6A,28
2
+ celldetective/__main__.py,sha256=bxTlSvbKhqn3LW_azd2baDCnDsgb37PAP9DfuAJ1_5M,1844
3
+ celldetective/_version.py,sha256=U6E-HRsrit7kgSGgIeTI2eMUeyUCny5DH8LDV4I1o0g,22
4
4
  celldetective/events.py,sha256=R6GDtiH0ZuEbad0R-nrlTHmho0Hly3QyyVYx2dD__P0,8051
5
- celldetective/extra_properties.py,sha256=88JtyoY883ibon-rqtCX_BCHOpo0MTGfiLciIR7jM24,5176
6
- celldetective/filters.py,sha256=b0qKwHor1fvNA_dHovP17nQz8EsW5YlyhT2TJnayn08,3615
7
- celldetective/io.py,sha256=zSiXczHEa_RwfXu5joHT8zThZ0V7bCkYPutHgZGdBzs,90030
8
- celldetective/measure.py,sha256=b0ZiTm_lrM1geInh8F1co9ef2w1oXQuLx7ACTo6vFIU,57358
9
- celldetective/neighborhood.py,sha256=66fsOPDtjbrUTww97wVFmPk-UZakJgglua8O1Jl-RC4,56745
5
+ celldetective/extra_properties.py,sha256=y556D6EMjLGhtjDqRoOTRGa85XxTIe0K1Asb26VZXmo,5643
6
+ celldetective/filters.py,sha256=9w4JyPH2cISRu7gtUDVsm9whiMMWxuc1vwhfaq3zWkY,3683
7
+ celldetective/io.py,sha256=_SO32G5Sc60vHQhQj7gXvDNTXjVd1uZ8x1HnFxCYU0g,90833
8
+ celldetective/measure.py,sha256=PXi13O6wjXbgj53o-C8DEWLVkmy9qb4vocmq1irPVV0,57450
9
+ celldetective/neighborhood.py,sha256=s-zVsfGnPlqs6HlDJCXRh21lLiPKbA_S1JC6uZvfG_0,56712
10
10
  celldetective/preprocessing.py,sha256=WmetQCgmHK6fo8AuwESPLab05WgeIy8ElBs-9KM-Cco,44081
11
11
  celldetective/relative_measurements.py,sha256=av5DiGlGsbILPav8aVcFlhbmbPLPZPxCB5qQejzhiRY,30400
12
12
  celldetective/segmentation.py,sha256=NjAVaVpZufpJ-LIvBx5UFH6j5kjRKE6EVLjttDrqaqs,30826
13
- celldetective/signals.py,sha256=XGBTyAPVp7hhXDK1qRFrC4H2U65jj2nBR4FQJ4LvUvA,121028
14
- celldetective/tracking.py,sha256=zZ9J1plUCTjKuK4HAPiuj3BysoR6hLehqYVsBEqhCnk,37995
13
+ celldetective/signals.py,sha256=ngBcl6xYlLX4KE7UFgLDzugmoJvrKG7URSPzlhUFNVE,121461
14
+ celldetective/tracking.py,sha256=e6XMunjVRhBnv1cRF66hkK-Hbti5KyPrs2mnR6qKpvU,38027
15
15
  celldetective/utils.py,sha256=oP_GHPdJJHK9s8sIlzKEXfTjCvzxAifdYYynkSMfu7A,89145
16
16
  celldetective/datasets/segmentation_annotations/blank,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  celldetective/datasets/signal_annotations/blank,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- celldetective/gui/InitWindow.py,sha256=OyEyWF6KJ4YzGK-8ZeMwYmPEG1maHcHlxmdsCJyUiEs,14963
18
+ celldetective/gui/InitWindow.py,sha256=sQSwfZ6SIQeZDQ_3KZoMO2MH9Fs9rhWeqxzEf9PFjEM,14534
19
19
  celldetective/gui/__init__.py,sha256=2_r2xfOj4_2xj0yBkCTIfzlF94AHKm-j6Pvpd7DddQc,989
20
20
  celldetective/gui/about.py,sha256=FJZrj6C-p6uqp_3UaprKosuW-Sw9_HPNQAvFbis9Gdk,1749
21
- celldetective/gui/analyze_block.py,sha256=sat8RECEeZxlaconZZIxI0IrIjwJo121PcBXqJmA1-o,24756
21
+ celldetective/gui/analyze_block.py,sha256=h0sp7Tk3hZFM8w0yTidwIjZX4WRI-lQF3JCFObrLCPo,2761
22
22
  celldetective/gui/btrack_options.py,sha256=OrvbG5coZhLRk5jtXiLFJu34z1hWHN9kHkBiZ7XMZoI,39269
23
- celldetective/gui/classifier_widget.py,sha256=4239jKQb1uZMQU6iBBicavE05QAgmBQBM0YnmDesoPs,18430
23
+ celldetective/gui/classifier_widget.py,sha256=mo7Gel3DKhFTUt184WvF0AOsw4HQ7kC8qrkSf8jr3hY,18412
24
24
  celldetective/gui/configure_new_exp.py,sha256=Eyr-M4FH-4xrUJbIGNdKXAtXb_ULr8lCol26JSzXEww,20125
25
- celldetective/gui/control_panel.py,sha256=5bU9n1bMiLrtrT9YH8-UfV5dJoOOtZejFcbHFkgX5NY,19185
26
- celldetective/gui/generic_signal_plot.py,sha256=KPJU5uP7uHxWQ6txmZx6gFalGPGxC165LSsx7AvB7zA,35605
27
- celldetective/gui/gui_utils.py,sha256=og9iz2DkkJc_4UZmnvhN2oCMMPbJVnx-FAF10JfR8Eo,30441
25
+ celldetective/gui/control_panel.py,sha256=Xr8W37KkRoR2R4ILsZbclnU6-g3WP1WjjTz6k39PN_8,21645
26
+ celldetective/gui/generic_signal_plot.py,sha256=cfPvNcLtsVp3xvKyOg1ekMKXcomN6fEnlowUnXrYK2c,36293
27
+ celldetective/gui/gui_utils.py,sha256=b6L4mThjN8upgXx4YeNRrfSSCF2l1epb_uEU8cc31F8,34171
28
28
  celldetective/gui/json_readers.py,sha256=Su3angSobroeGrrumGgQcs3Cr_9l9p52-Hfm3qneVcI,3664
29
- celldetective/gui/layouts.py,sha256=f_MoRPtl6e1UAsSTVidCSNk4_hoz1me_Z1KFaia29TQ,51783
30
- celldetective/gui/measurement_options.py,sha256=4jnTv3dOeazEzWdsKgAmJaHp_dhalr6pDg8MxE3L_L4,39699
29
+ celldetective/gui/layouts.py,sha256=XsqiHR58DXsG5SSD5S8KOtUv4yw-y-s2_wZx_XsHeJs,52013
30
+ celldetective/gui/measurement_options.py,sha256=MnJ9dToJb-_UppqHEyFoIvqY8M2cneTGmqxMToeTJ48,39579
31
31
  celldetective/gui/neighborhood_options.py,sha256=BvWwsIX1KWogUgHWRZptqY3ZRmH1aj7r8tiLmbRFhW4,19783
32
- celldetective/gui/plot_measurements.py,sha256=SBFkY3542hW4H_vllOCMxMOgBz09KUE2FLhhgI8avXk,51024
33
- celldetective/gui/plot_signals_ui.py,sha256=i3ulnd6_dyFDRRy8RLO-fC6zwkbYjMXLYRc8rTYKTlE,15981
34
- celldetective/gui/process_block.py,sha256=0wD9ffvZwZgnZ79R2BV_It7lbdk8bvOJs658uDfAsBo,69494
32
+ celldetective/gui/plot_measurements.py,sha256=n0pDUcYcsKlSMaUaBSVplGziuWp_7jKaeXdREs-MqyI,50848
33
+ celldetective/gui/plot_signals_ui.py,sha256=dLClQYdQcs98Dq6RWixWXM7_iS67CicOe695bA9LM-w,16447
34
+ celldetective/gui/process_block.py,sha256=tk3zhhXhutszmFP3T7zbXnoCOZRbFUHPBR4cNNaHQOk,68683
35
35
  celldetective/gui/retrain_segmentation_model_options.py,sha256=ACeQ_DdSLy1EK0z_S_9v-0HOiLXjUmrz4sdvHWZT6FI,23330
36
36
  celldetective/gui/retrain_signal_model_options.py,sha256=XigNdGlNu3KWB_MYBcKQhfXjcWwVZNMmu0qmxNoo14E,21919
37
37
  celldetective/gui/seg_model_loader.py,sha256=vWvPMU6nkTiQfI-x2WjQHrdJGFdV4a4Ne-4YIOq_YZ8,18153
38
- celldetective/gui/signal_annotator.py,sha256=uzX06JYJOCFm4EytQRV2_JR8orbjDh6NjWberQePiGg,88244
39
- celldetective/gui/signal_annotator2.py,sha256=Phft2_mjwtadd_BFNnZwofOGtrzXL9AEBG46hHvlZow,108888
38
+ celldetective/gui/signal_annotator.py,sha256=gZtuWoVWjaIzxy5SL1Cg2rBrsH9-s-oYSxJe7CQeEiY,88656
39
+ celldetective/gui/signal_annotator2.py,sha256=fAgkNexxvcnY4KvIxtgHKF3B9K-wsgfA8KbkALq4UPY,108945
40
40
  celldetective/gui/signal_annotator_options.py,sha256=ztFFgA70SJ0QkntxYGsgDNCvSuSR5GjF7_J6pYVYc1g,11020
41
- celldetective/gui/styles.py,sha256=fup0_U1Zk0IJAjyruHde_r-X7d7cTMcrpPLPl-HuKAM,4820
42
- celldetective/gui/survival_ui.py,sha256=SJV-HIcA0hg_ZvyTdxbutvkUwuCSnx2TI3hNHn3AtZE,10362
43
- celldetective/gui/tableUI.py,sha256=kkgqxopWuC8nnTFPVkf09_h9176OfBmRMZ3E6AsyQIc,50531
44
- celldetective/gui/thresholds_gui.py,sha256=YHtgTDVNM0H-4bKwrRVs5yFAX4wgp5DSfjjfm0RGUKA,50849
45
- celldetective/gui/viewers.py,sha256=WdNb9J7hNtTvl5wpdmJbWeXWeE0hz06B0wOAOMt1_10,46466
41
+ celldetective/gui/styles.py,sha256=awg5NfGWUoM4V_LpVlmPP7JorpofiLVNqLBv4zRy89E,5058
42
+ celldetective/gui/survival_ui.py,sha256=7qUenqEIaWEwdf-nKE1gN0LAdybgQbRLb3OJMTI9bfk,10193
43
+ celldetective/gui/tableUI.py,sha256=2tBZN3X1nrBD_t58yaCY4NENWeHtgvaN0IcKzZn18SM,50500
44
+ celldetective/gui/thresholds_gui.py,sha256=6Lgr_CK2LBn_gMsWf0gIQvQIQSMg3oIhFfknFeg8Fh4,50721
45
+ celldetective/gui/viewers.py,sha256=0KmtAKZUNY5xpKFcFajgc1Jbnf_86rw_ooX6UrMmEHc,46328
46
46
  celldetective/gui/help/DL-segmentation-strategy.json,sha256=59jVtn8pECbCqPQwJifgViVYTF1AxLQDIkNJMS7CJuk,1143
47
47
  celldetective/gui/help/Threshold-vs-DL.json,sha256=SELQk3qF8xcwmkX686Bqrr7i5KiXqN7r4jbUydCLRDU,603
48
48
  celldetective/gui/help/cell-populations.json,sha256=wP0ekhokb9oHE3XqOQrC5ARewNgOlv0GJrQeVQyMJzg,1075
@@ -80,7 +80,7 @@ celldetective/models/tracking_configs/no_z_motion.json,sha256=b4RWOJ0w6Y2e0vJYwK
80
80
  celldetective/models/tracking_configs/ricm.json,sha256=L-vmwCR1f89U-qnH2Ms0cBfPFR_dxIWoe2ccH8V-QBA,2727
81
81
  celldetective/models/tracking_configs/ricm2.json,sha256=DDjJ6ScYcDWvlsy7ujPID8v8H28vcNcMuZmNR8XmGxo,2718
82
82
  celldetective/scripts/analyze_signals.py,sha256=YE05wZujl2hQFWkvqATBcCx-cAd_V3RxnvKoh0SB7To,2194
83
- celldetective/scripts/measure_cells.py,sha256=hKBLX6qT1K5asq0e53kLs2_Xr9oPYwliiEaPQgpnNrU,11734
83
+ celldetective/scripts/measure_cells.py,sha256=jUwPSjIzR4sCvjer_K5vSlRQX3e8AhJE3xhUbevES7c,12143
84
84
  celldetective/scripts/measure_relative.py,sha256=L_NjIUfHSGupkAKLZkubBHJdZh0ugPhCTJem80b0zMM,4261
85
85
  celldetective/scripts/segment_cells.py,sha256=bnNacgp_6qpb1fvwPizxVctsUNiFBegKalo-PSpXPEU,8262
86
86
  celldetective/scripts/segment_cells_thresholds.py,sha256=6ERg-hxdHMSgXPQSBPtYt2lccTlkz9ZLktYgb57Avmw,5168
@@ -94,14 +94,14 @@ tests/test_io.py,sha256=gk5FmoI7ANEczUtNXYRxc48KzkfYzemwS_eYaLq4_NI,2093
94
94
  tests/test_measure.py,sha256=FEUAs1rVHylvIvubCb0bJDNGZLVmkgXNgI3NaGQ1dA8,4542
95
95
  tests/test_neighborhood.py,sha256=gk5FmoI7ANEczUtNXYRxc48KzkfYzemwS_eYaLq4_NI,2093
96
96
  tests/test_preprocessing.py,sha256=FI-Wk-kc4wWmOQg_NLCUIZC1oti396wr5cC-BauBai0,1436
97
- tests/test_qt.py,sha256=eYqOoff-vfvZAZM6H_IY19IqK7qzyETcyj54f9T0bQA,3906
97
+ tests/test_qt.py,sha256=Mx8qxUofHyMo2NnPOKQq108sJ-7skVFGWAA_VMyehMw,4042
98
98
  tests/test_segmentation.py,sha256=k1b_zIZdlytEdJcHjAUQEO3gTBAHtv5WvrwQN2xD4kc,3470
99
99
  tests/test_signals.py,sha256=No4cah6KxplhDcKXnU8RrA7eDla4hWw6ccf7xGnBokU,3599
100
100
  tests/test_tracking.py,sha256=8hebWSqEIuttD1ABn-6dKCT7EXKRR7-4RwyFWi1WPFo,8800
101
101
  tests/test_utils.py,sha256=NKRCAC1d89aBK5cWjTb7-pInYow901RrT-uBlIdz4KI,3692
102
- celldetective-1.3.3.post1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
103
- celldetective-1.3.3.post1.dist-info/METADATA,sha256=vrBTSR4sY56-qMlzOBKejzf-71YICuEA40HDCBZqx9E,10510
104
- celldetective-1.3.3.post1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
105
- celldetective-1.3.3.post1.dist-info/entry_points.txt,sha256=2NU6_EOByvPxqBbCvjwxlVlvnQreqZ3BKRCVIKEv3dg,62
106
- celldetective-1.3.3.post1.dist-info/top_level.txt,sha256=6rsIKKfGMKgud7HPuATcpq6EhdXwcg_yknBVWn9x4C4,20
107
- celldetective-1.3.3.post1.dist-info/RECORD,,
102
+ celldetective-1.3.4.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
103
+ celldetective-1.3.4.dist-info/METADATA,sha256=h45Xti2RUbcEQk5Om87dsNhfDQnRCHPOl_Pw3kFfH48,10528
104
+ celldetective-1.3.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
105
+ celldetective-1.3.4.dist-info/entry_points.txt,sha256=2NU6_EOByvPxqBbCvjwxlVlvnQreqZ3BKRCVIKEv3dg,62
106
+ celldetective-1.3.4.dist-info/top_level.txt,sha256=6rsIKKfGMKgud7HPuATcpq6EhdXwcg_yknBVWn9x4C4,20
107
+ celldetective-1.3.4.dist-info/RECORD,,
tests/test_qt.py CHANGED
@@ -1,6 +1,7 @@
1
1
  import pytest
2
2
  from PyQt5 import QtCore
3
3
  from celldetective.gui.InitWindow import AppInitWindow
4
+ from celldetective.utils import get_software_location
4
5
  import time
5
6
  import os
6
7
 
@@ -9,7 +10,8 @@ print(abs_path)
9
10
 
10
11
  @pytest.fixture
11
12
  def app(qtbot):
12
- test_app = AppInitWindow()
13
+ software_location = get_software_location()
14
+ test_app = AppInitWindow(software_location=software_location)
13
15
  qtbot.addWidget(test_app)
14
16
  return test_app
15
17
 
@@ -33,8 +35,8 @@ def test_app(app, qtbot):
33
35
  qtbot.mouseClick(app.validate_button, QtCore.Qt.LeftButton)
34
36
 
35
37
  # Set a position
36
- app.control_panel.position_list.setCurrentIndex(1)
37
- app.control_panel.update_position_options()
38
+ #app.control_panel.position_list.setCurrentIndex(0)
39
+ #app.control_panel.update_position_options()
38
40
 
39
41
  # View stacl
40
42
  qtbot.mouseClick(app.control_panel.view_stack_btn, QtCore.Qt.LeftButton)