sapiopycommons 2024.10.4a339__py3-none-any.whl → 2024.10.14a341__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.
Potentially problematic release.
This version of sapiopycommons might be problematic. Click here for more details.
- sapiopycommons/eln/experiment_handler.py +1 -1
- sapiopycommons/webhook/webhook_handlers.py +2 -2
- {sapiopycommons-2024.10.4a339.dist-info → sapiopycommons-2024.10.14a341.dist-info}/METADATA +1 -1
- {sapiopycommons-2024.10.4a339.dist-info → sapiopycommons-2024.10.14a341.dist-info}/RECORD +6 -6
- {sapiopycommons-2024.10.4a339.dist-info → sapiopycommons-2024.10.14a341.dist-info}/WHEEL +0 -0
- {sapiopycommons-2024.10.4a339.dist-info → sapiopycommons-2024.10.14a341.dist-info}/licenses/LICENSE +0 -0
|
@@ -806,7 +806,7 @@ class ExperimentHandler:
|
|
|
806
806
|
for sample in samples:
|
|
807
807
|
if sample.data_type_name != "Sample":
|
|
808
808
|
raise SapioException(f"Received a {sample.data_type_name} record when Sample records were expected.")
|
|
809
|
-
detail: PyRecordModel = sample.add(Child.
|
|
809
|
+
detail: PyRecordModel = sample.add(Child.create_by_name(dt))
|
|
810
810
|
detail.set_field_values({
|
|
811
811
|
"SampleId": sample.get_field_value("SampleId"),
|
|
812
812
|
"OtherSampleId": sample.get_field_value("OtherSampleId")
|
|
@@ -139,8 +139,8 @@ class CommonsWebhookHandler(AbstractWebhookHandler):
|
|
|
139
139
|
if result is not None:
|
|
140
140
|
return result
|
|
141
141
|
self.log_error(traceback.format_exc())
|
|
142
|
-
# This error be thrown by endpoints that can't send client callbacks. If that happens, fall back onto
|
|
143
|
-
# display text instead.
|
|
142
|
+
# This error can be thrown by endpoints that can't send client callbacks. If that happens, fall back onto
|
|
143
|
+
# sending display text instead.
|
|
144
144
|
if self.can_send_client_callback():
|
|
145
145
|
self.callback.display_error(e.args[0])
|
|
146
146
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: sapiopycommons
|
|
3
|
-
Version: 2024.10.
|
|
3
|
+
Version: 2024.10.14a341
|
|
4
4
|
Summary: Official Sapio Python API Utilities Package
|
|
5
5
|
Project-URL: Homepage, https://github.com/sapiosciences
|
|
6
6
|
Author-email: Jonathan Steck <jsteck@sapiosciences.com>, Yechen Qiao <yqiao@sapiosciences.com>
|
|
@@ -11,7 +11,7 @@ sapiopycommons/customreport/term_builder.py,sha256=oVsr7iFPnug2TrZUCcAMhyps-b62k
|
|
|
11
11
|
sapiopycommons/datatype/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
sapiopycommons/datatype/attachment_util.py,sha256=_l2swuP8noIGAl4bwzBUEhr6YlN_OVZl3-gi1XqFHYA,3364
|
|
13
13
|
sapiopycommons/eln/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
sapiopycommons/eln/experiment_handler.py,sha256=
|
|
14
|
+
sapiopycommons/eln/experiment_handler.py,sha256=eUVKHmgd4oowWg37mBnp4Ag_NsXBkDhm6mV4j36HhKs,66850
|
|
15
15
|
sapiopycommons/eln/experiment_report_util.py,sha256=B55hXbTGndCEI19LiqhjvO46_chujZUK0qDTWHjzfcU,6398
|
|
16
16
|
sapiopycommons/eln/plate_designer.py,sha256=FYJfhhNq8hdfuXgDYOYHy6g0m2zNwQXZWF_MTPzElDg,7184
|
|
17
17
|
sapiopycommons/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -44,9 +44,9 @@ sapiopycommons/rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
44
44
|
sapiopycommons/rules/eln_rule_handler.py,sha256=JYzDA_14D2nLnlqwbpIxVOrfKWzbOS27AYf4TQfGr4Q,10469
|
|
45
45
|
sapiopycommons/rules/on_save_rule_handler.py,sha256=Rkqvph20RbNq6m-RF4fbvCP-YfD2CZYBM2iTr3nl0eY,10236
|
|
46
46
|
sapiopycommons/webhook/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
47
|
-
sapiopycommons/webhook/webhook_handlers.py,sha256=
|
|
47
|
+
sapiopycommons/webhook/webhook_handlers.py,sha256=JTquLBln49L1pJ9txJ4oc4Hpzy9kYtMKs0m4SLaFx78,18363
|
|
48
48
|
sapiopycommons/webhook/webservice_handlers.py,sha256=1J56zFI0pWl5MHoNTznvcZumITXgAHJMluj8-2BqYEw,3315
|
|
49
|
-
sapiopycommons-2024.10.
|
|
50
|
-
sapiopycommons-2024.10.
|
|
51
|
-
sapiopycommons-2024.10.
|
|
52
|
-
sapiopycommons-2024.10.
|
|
49
|
+
sapiopycommons-2024.10.14a341.dist-info/METADATA,sha256=HAeNuNnK_r78w9E501s3a6mdD7RdbJLNOsY5W-XTViU,3177
|
|
50
|
+
sapiopycommons-2024.10.14a341.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
51
|
+
sapiopycommons-2024.10.14a341.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
|
|
52
|
+
sapiopycommons-2024.10.14a341.dist-info/RECORD,,
|
|
File without changes
|
{sapiopycommons-2024.10.4a339.dist-info → sapiopycommons-2024.10.14a341.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|