celldetective 1.5.0b13__py3-none-any.whl → 1.5.0b14__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/_version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.5.0b13"
1
+ __version__ = "1.5.0b14"
@@ -5,6 +5,7 @@ from celldetective import get_logger
5
5
 
6
6
  logger = get_logger(__name__)
7
7
 
8
+
8
9
  class LocalCorrectionLayout(BackgroundFitCorrectionLayout):
9
10
  """docstring for ClassName"""
10
11
 
@@ -57,11 +58,12 @@ class LocalCorrectionLayout(BackgroundFitCorrectionLayout):
57
58
  n_channels=len(self.channel_names),
58
59
  target_channel=self.channels_cb.currentIndex(),
59
60
  edge_range=(0, 30),
60
- initial_edge=int(thresh),
61
+ initial_edge=-int(thresh),
61
62
  invert=True,
62
63
  window_title="Set an edge distance to estimate local intensity",
63
64
  channel_cb=False,
64
65
  PxToUm=1,
66
+ single_value_mode=True,
65
67
  )
66
68
  self.viewer.show()
67
69
 
@@ -198,7 +198,12 @@ class CellEdgeVisualizer(StackVisualizer):
198
198
  def set_measurement_in_parent_le(self):
199
199
  # Set the edge size in the parent QLineEdit
200
200
 
201
- self.parent_le.setText(str(int(self.edge_slider.value())))
201
+ slider_val = self.edge_slider.value()
202
+ if isinstance(slider_val, tuple):
203
+ val = max(abs(slider_val[0]), abs(slider_val[1]))
204
+ self.parent_le.setText(str(int(val)))
205
+ else:
206
+ self.parent_le.setText(str(int(slider_val)))
202
207
  self.close()
203
208
 
204
209
  def set_measurement_in_parent_list(self):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: celldetective
3
- Version: 1.5.0b13
3
+ Version: 1.5.0b14
4
4
  Summary: description
5
5
  Home-page: http://github.com/remyeltorro/celldetective
6
6
  Author: Rémy Torro
@@ -1,6 +1,6 @@
1
1
  celldetective/__init__.py,sha256=LfnOyfUnYPGDc8xcsF_PfYEL7-CqAb7BMBPBIWGv84o,666
2
2
  celldetective/__main__.py,sha256=Rzzu9ArxZSgfBVjV-lyn-3oanQB2MumQR6itK5ZaRpA,2597
3
- celldetective/_version.py,sha256=r99lOt_AULDp4kEwCe3tyCJFX25doXbUyHj8bLm8-mk,25
3
+ celldetective/_version.py,sha256=amPopcQgtkLsO4PonyHRn3RcuDFQrei6x9QLnJip2sE,25
4
4
  celldetective/event_detection_models.py,sha256=A7ZJFhJwfdhzfxJ-YZIj6IoI9Gc1hyAodFkKt8kNxDk,93549
5
5
  celldetective/events.py,sha256=n15R53c7QZ2wT8gjb0oeNikQbuRBrVVbyNsRCqXjzXA,8166
6
6
  celldetective/exceptions.py,sha256=f3VmIYOthWTiqMEV5xQCox2rw5c5e7yog88h-CcV4oI,356
@@ -64,7 +64,7 @@ celldetective/gui/help/tracking.json,sha256=yIAoOToqCSQ_XF4gwEZCcyXcvQ3mROju263Z
64
64
  celldetective/gui/layouts/__init__.py,sha256=Rm0i-juuITLlBLyvwaLaOCY9yyWV4OCKp8uVc89rQps,320
65
65
  celldetective/gui/layouts/background_model_free_layout.py,sha256=YvuO2YmHxDTuPxIwfuVsNrO_uM3TQCiFvZFT_6diBaI,20332
66
66
  celldetective/gui/layouts/channel_offset_layout.py,sha256=DKn0HKSVg_44khxopUz55YQoLxccMM84fmyH8H88n-c,5133
67
- celldetective/gui/layouts/local_correction_layout.py,sha256=oSRPYYMHsYvafxmBQ7oFTP9UajuD0cH276sO9pd4wVY,3136
67
+ celldetective/gui/layouts/local_correction_layout.py,sha256=NG708MKI9ghFdcDrh32BG_jE8tAL2C2q9uDQe9F94Qw,3178
68
68
  celldetective/gui/layouts/model_fit_layout.py,sha256=7rxwYKaV9YaMuJljjx2oDvlF38fgd7nvWM5rCxFV_QA,14474
69
69
  celldetective/gui/layouts/operation_layout.py,sha256=mdUPEdoViFlvLy05-XP9lQyN6-MlEx3EcbbQbovUONs,2381
70
70
  celldetective/gui/layouts/protocol_designer_layout.py,sha256=JkEbUiYOHSPV08hYIC8_g2Znj4IznTYO-ui-iR_F9Us,3344
@@ -90,7 +90,7 @@ celldetective/gui/table_ops/_rename_col.py,sha256=UAgDSpXJo_h4pLJpHaNc2w2VhbaW4D
90
90
  celldetective/gui/viewers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
91
91
  celldetective/gui/viewers/base_viewer.py,sha256=Wn4na79xRL1R6PSXIoE_UabxJNtNQ-Y5l9Q-HSb508c,32013
92
92
  celldetective/gui/viewers/channel_offset_viewer.py,sha256=cywBkxyMPyKIuwZTGA03DBSS4a-H1SAohMJYOPISLEE,16289
93
- celldetective/gui/viewers/contour_viewer.py,sha256=gRAVkwIrAQKN9hFbWNYOO8RDOw50l92owIvDM1q5Cno,15360
93
+ celldetective/gui/viewers/contour_viewer.py,sha256=i5kjk57KjgGWwLPityLYnLuUiH0gG60Rz08oohQJM1A,15564
94
94
  celldetective/gui/viewers/size_viewer.py,sha256=uXITjaxg5dhQ09Q6TNUxwLxi-ZglyGFcxEH1RtGIZWw,6020
95
95
  celldetective/gui/viewers/spot_detection_viewer.py,sha256=JSo6tpb7qBxGjUzUXQ-Zi4uts74eVZ2gxUdD67yhQ4A,17195
96
96
  celldetective/gui/viewers/threshold_viewer.py,sha256=F-13JF2wFhyvvKfUvgRcSjWL3leAliOXy5yUergndnE,12000
@@ -167,7 +167,7 @@ celldetective/utils/event_detection/__init__.py,sha256=GvsdyQLMTXJj1S_FfRXjrpOxE
167
167
  celldetective/utils/plots/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
168
168
  celldetective/utils/plots/regression.py,sha256=oUCn29-hp7PxMqC-R0yoL60KMw5ZWpZAIoCDh2ErlcY,1764
169
169
  celldetective/utils/stardist_utils/__init__.py,sha256=SY2kxFNXSRjXN4ncs3heDdXT3UNk8M3dELJQySysAf4,4231
170
- celldetective-1.5.0b13.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
170
+ celldetective-1.5.0b14.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
171
171
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
172
172
  tests/test_cellpose_fallback.py,sha256=BJZTDFF8sFR1x7rDbvZQ2RQOB1OP6wuFBRfc8zbl5zw,3513
173
173
  tests/test_contour_format.py,sha256=N11Rue_mxxwsZBhocRA621bpt4Cps-1DnPGzhKLSq9o,10873
@@ -193,8 +193,8 @@ tests/gui/test_new_project.py,sha256=wRjW2vEaZb0LWT-f8G8-Ptk8CW9z8-FDPLpV5uqj6ck
193
193
  tests/gui/test_project.py,sha256=KzAnodIc0Ovta0ARL5Kr5PkOR5euA6qczT_GhEZpyE4,4710
194
194
  tests/gui/test_spot_detection_viewer.py,sha256=mCEsfTAJb5W5IeLyQmaZXq9Sjr8ehCI552RkiCEQvLw,13355
195
195
  tests/gui/test_tableui_track_collapse.py,sha256=SA2Ot3wcW64nziK260QaaXY22_VEbJFbUfBVDNte7Us,6831
196
- celldetective-1.5.0b13.dist-info/METADATA,sha256=WKYlvKF-uRi4S55hFWZp6ykvcLnmUAECKjfU5KoeADw,11524
197
- celldetective-1.5.0b13.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
198
- celldetective-1.5.0b13.dist-info/entry_points.txt,sha256=2NU6_EOByvPxqBbCvjwxlVlvnQreqZ3BKRCVIKEv3dg,62
199
- celldetective-1.5.0b13.dist-info/top_level.txt,sha256=6rsIKKfGMKgud7HPuATcpq6EhdXwcg_yknBVWn9x4C4,20
200
- celldetective-1.5.0b13.dist-info/RECORD,,
196
+ celldetective-1.5.0b14.dist-info/METADATA,sha256=ZtE6pGNjG4ElXzsZny820TVk0vh3TwcEr1xC-fLWSyY,11524
197
+ celldetective-1.5.0b14.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
198
+ celldetective-1.5.0b14.dist-info/entry_points.txt,sha256=2NU6_EOByvPxqBbCvjwxlVlvnQreqZ3BKRCVIKEv3dg,62
199
+ celldetective-1.5.0b14.dist-info/top_level.txt,sha256=6rsIKKfGMKgud7HPuATcpq6EhdXwcg_yknBVWn9x4C4,20
200
+ celldetective-1.5.0b14.dist-info/RECORD,,