cellprofiler-core-nightly 5.0.0.dev291__py3-none-any.whl → 5.0.0.dev313__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.
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '5.0.0.dev291'
32
- __version_tuple__ = version_tuple = (5, 0, 0, 'dev291')
31
+ __version__ = version = '5.0.0.dev313'
32
+ __version_tuple__ = version_tuple = (5, 0, 0, 'dev313')
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -24,6 +24,10 @@ from ...setting.text import LabelName
24
24
  class ImageSegmentation(Module):
25
25
  category = "Image Segmentation"
26
26
 
27
+ def __init__(self):
28
+ self.validate_image = None
29
+ super().__init__()
30
+
27
31
  def add_measurements(self, workspace, object_name=None):
28
32
  if object_name is None:
29
33
  object_name = self.y_name.value
@@ -153,6 +157,9 @@ class ImageSegmentation(Module):
153
157
 
154
158
  args = (setting.value for setting in self.settings()[2:])
155
159
 
160
+ if self.validate_image:
161
+ self.validate_image(x)
162
+
156
163
  y_data = self.function(x_data, *args)
157
164
 
158
165
  y = Objects()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cellprofiler-core-nightly
3
- Version: 5.0.0.dev291
3
+ Version: 5.0.0.dev313
4
4
  Summary: cellprofiler-core implements the bulk of CellProfiler's non-gui functionality
5
5
  Author: Anne Carpenter, Thouis (Ray) Jones, Lee Kamentsky, Vebjorn Ljosa, David Logan, Mark Bray, Madison Swain-Bowden, Allen Goodman, Claire McQuinn, Alice Lucas, Callum Tromans-Coia
6
6
  Author-email: Beth Cimini <bcimini@broadinstitute.org>, David Stirling <dstirling@glencoesoftware.com>, Nodar Gogoberidze <ngogober@broadinstitute.org>
@@ -1,6 +1,6 @@
1
1
  cellprofiler_core/__init__.py,sha256=_3kgQS8726Qn6s5G3k9qO5lP70iGHpCjCfN8WOZUmOY,51
2
2
  cellprofiler_core/__main__.py,sha256=TA41EatBuwAZ4DhfTnq8sJJzxdov9fBN_j7g9hvMJeo,1221
3
- cellprofiler_core/_version.py,sha256=SzNb6orqTBYF74e-fL99Nn8-qYKy2QCGV4sFFXV20Mo,721
3
+ cellprofiler_core/_version.py,sha256=X4VkWpCY3W1OoL-UO0Ujz6sOnuBoWBDUvHRgT9ivJRQ,721
4
4
  cellprofiler_core/analysis/__init__.py,sha256=3q_bxjv7sGtXWFGULDj1AB3Ntx7A3HPctk_sr6gL6Wo,694
5
5
  cellprofiler_core/analysis/_analysis.py,sha256=sKKK91ov5T1OuYaejvX8rM_Uk-2ggbkAPRji3cuL3SM,4259
6
6
  cellprofiler_core/analysis/_runner.py,sha256=UAV_In9l6RXzud0qWG-uDPPi8-WTydhDEgqMGeOWT5w,31610
@@ -93,7 +93,7 @@ cellprofiler_core/module/_image_processing.py,sha256=0EuX-kK0Zk_eEIlDzQxGTwa2sDM
93
93
  cellprofiler_core/module/_module.py,sha256=dcbUV0VouzxOxXxmVBIsQmJvCvsEpjlSlxEJGUqzRRs,38307
94
94
  cellprofiler_core/module/_plugin_importer.py,sha256=nDnr9RZDDRuLvCTsmQ7yHHCYPoRnc-e8nn3kVpm8ieY,1196
95
95
  cellprofiler_core/module/image_segmentation/__init__.py,sha256=ZPy9rknDCT9GPt6RkPK0khHcHDnbqQMstmehUgLjv3w,100
96
- cellprofiler_core/module/image_segmentation/_image_segmentation.py,sha256=srgBbu0bM3wVb11cpek5Vckmbo1cYYPthPeqU2aXIHc,5441
96
+ cellprofiler_core/module/image_segmentation/_image_segmentation.py,sha256=IFTYiv2cfrkbLqfsNLLretFJX5TqTkDhJ7IsVlpr3-U,5596
97
97
  cellprofiler_core/module/image_segmentation/_object_processing.py,sha256=ttu8W2jDoKUGCB4mjm9lXsnZOi4dnp5Ow3xKjuW65ow,4737
98
98
  cellprofiler_core/modules/__init__.py,sha256=S07BLKQIJY24gG_OCGLl3ZGUNBnn9EGZT53tEc6jWdo,237
99
99
  cellprofiler_core/modules/align.py,sha256=Q6U6ObCCeTfKhLAn2VFLzLWq3UOZ1piMo4QoDzoALSs,30948
@@ -305,8 +305,8 @@ cellprofiler_core/worker/_worker.py,sha256=-DGKaU8J91OrQvjoPdLqHPhmtXznIoxK2oxQP
305
305
  cellprofiler_core/workspace/__init__.py,sha256=_J7VJAGoTcSYMt5YB_Ol_JZJXkSj1shvUZpIqN4B6ew,98
306
306
  cellprofiler_core/workspace/_disposition_changed_event.py,sha256=7l2ewpHRhv0ErQvwGi7ifb9MZOX2iwvS-ttRmZpZP9Q,107
307
307
  cellprofiler_core/workspace/_workspace.py,sha256=GdnVgpnk3UL71qoKm8xvjuss6QvZ2t_K0xE8X0EqHLc,21602
308
- cellprofiler_core_nightly-5.0.0.dev291.dist-info/licenses/LICENSE,sha256=QLWaBS7kAioYx7PmJNXAMJaY8NODcFAag60YlUWuyz0,2276
309
- cellprofiler_core_nightly-5.0.0.dev291.dist-info/METADATA,sha256=SDI8HHGWX3AL0s27ypSWV2h86UImftJbz337lJpZqmk,5892
310
- cellprofiler_core_nightly-5.0.0.dev291.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
311
- cellprofiler_core_nightly-5.0.0.dev291.dist-info/top_level.txt,sha256=Cyr_eRUfEUpSmpsWAZAZGBqgRcpgnNrvD5DmkMDmCQk,18
312
- cellprofiler_core_nightly-5.0.0.dev291.dist-info/RECORD,,
308
+ cellprofiler_core_nightly-5.0.0.dev313.dist-info/licenses/LICENSE,sha256=QLWaBS7kAioYx7PmJNXAMJaY8NODcFAag60YlUWuyz0,2276
309
+ cellprofiler_core_nightly-5.0.0.dev313.dist-info/METADATA,sha256=AeDQrB7Ql2yNT5dZ5GOGYdFZm-juAAy0QYga0-KL2fk,5892
310
+ cellprofiler_core_nightly-5.0.0.dev313.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
311
+ cellprofiler_core_nightly-5.0.0.dev313.dist-info/top_level.txt,sha256=Cyr_eRUfEUpSmpsWAZAZGBqgRcpgnNrvD5DmkMDmCQk,18
312
+ cellprofiler_core_nightly-5.0.0.dev313.dist-info/RECORD,,