sapiopycommons 2025.2.5a412__py3-none-any.whl → 2025.2.5a413__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.

@@ -101,13 +101,13 @@ class ToolOfToolsHelper:
101
101
  """Whether a tab for this tool has been initialized."""
102
102
  tab: ElnExperimentTab
103
103
  """The tab that contains the tool's entries."""
104
- description_entry: ElnEntryStep
104
+ description_entry: ElnEntryStep | None
105
105
  """The text entry that displays the description of the tool."""
106
- progress_entry: ElnEntryStep
106
+ progress_entry: ElnEntryStep | None
107
107
  """A hidden entry for tracking the progress of the tool."""
108
- progress_record: DataRecord
108
+ progress_record: DataRecord | None
109
109
  """The record that stores the progress of the tool."""
110
- progress_gauge_entry: ElnEntryStep
110
+ progress_gauge_entry: ElnEntryStep | None
111
111
  """A chart entry that displays the progress of the tool using the hidden progress entry."""
112
112
  results_entry: ElnEntryStep | None
113
113
  """An entry for displaying the results of the tool. If None, the tool does not produce result records."""
@@ -154,7 +154,7 @@ class ToolOfToolsHelper:
154
154
  if entry.eln_entry.notebook_experiment_tab_id != tab.tab_id:
155
155
  continue
156
156
 
157
- dt: str = entry.get_data_type_names()[0]
157
+ dt: str = entry.get_data_type_names()[0] if entry.get_data_type_names() else None
158
158
  if (entry.eln_entry.entry_type == ElnEntryType.Form
159
159
  and ElnBaseDataType.get_base_type(dt) == ElnBaseDataType.EXPERIMENT_DETAIL
160
160
  and not hasattr(self, "progress_entry")):
@@ -168,16 +168,17 @@ class ToolOfToolsHelper:
168
168
  self.description_entry = entry
169
169
  elif (entry.eln_entry.entry_type == ElnEntryType.Table
170
170
  and dt == self.results_data_type
171
- and not hasattr(self, "result_entry")):
171
+ and not hasattr(self, "results_entry")):
172
172
  self.results_entry = entry
173
173
 
174
174
  if not hasattr(self, "progress_entry"):
175
- self.results_entry = None
175
+ self.progress_entry = None
176
+ self.progress_record = None
176
177
  if not hasattr(self, "progress_gauge_entry"):
177
- self.results_entry = None
178
+ self.progress_gauge_entry = None
178
179
  if not hasattr(self, "description_entry"):
179
- self.results_entry = None
180
- if not hasattr(self, "result_entry"):
180
+ self.description_entry = None
181
+ if not hasattr(self, "results_entry"):
181
182
  self.results_entry = None
182
183
 
183
184
  self.tab = tab
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sapiopycommons
3
- Version: 2025.2.5a412
3
+ Version: 2025.2.5a413
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>
@@ -15,7 +15,7 @@ sapiopycommons/datatype/attachment_util.py,sha256=_l2swuP8noIGAl4bwzBUEhr6YlN_OV
15
15
  sapiopycommons/datatype/data_fields.py,sha256=C6HpqtEuF0KsxhlBUprfyv1XguaXql3EYWVbh8y-IFU,4064
16
16
  sapiopycommons/datatype/pseudo_data_types.py,sha256=6TG7aJxgmUZ8FQkWBcgmbK5oy7AFFNtKOPpi1w1OOYA,27657
17
17
  sapiopycommons/elain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- sapiopycommons/elain/tool_of_tools.py,sha256=nSVxZ7ILmtJpe_yMcuHl2qgACLYPSZ6i4VLr_JfQG98,16871
18
+ sapiopycommons/elain/tool_of_tools.py,sha256=pDunj_TReUdyOJPVBIQPnMomSmb6XKp7Dld7ALtP9pE,16998
19
19
  sapiopycommons/eln/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  sapiopycommons/eln/experiment_handler.py,sha256=8hmR7sawDo9K6iBwB44QSoxlH1M91inor7dfuXQ4LKs,69323
21
21
  sapiopycommons/eln/experiment_report_util.py,sha256=EA2Iq8gW17bSEI6lPoHYQQ-fDvG4O28RWOoTPXpOlUw,36640
@@ -57,7 +57,7 @@ sapiopycommons/webhook/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
57
57
  sapiopycommons/webhook/webhook_context.py,sha256=D793uLsb1691SalaPnBUk3rOSxn_hYLhdvkaIxjNXss,1909
58
58
  sapiopycommons/webhook/webhook_handlers.py,sha256=M5PMt-j7PpnzUQMUQDTvqwJUyJNxuFtC9wdnk5VRNpI,39703
59
59
  sapiopycommons/webhook/webservice_handlers.py,sha256=Y5dHx_UFWFuSqaoPL6Re-fsKYRuxvCWZ8bj6KSZ3jfM,14285
60
- sapiopycommons-2025.2.5a412.dist-info/METADATA,sha256=dqBuaqHjWkuMQBsUpph31ZGWuANOIzYjWT242mOKbXk,3142
61
- sapiopycommons-2025.2.5a412.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
62
- sapiopycommons-2025.2.5a412.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
63
- sapiopycommons-2025.2.5a412.dist-info/RECORD,,
60
+ sapiopycommons-2025.2.5a413.dist-info/METADATA,sha256=GgQkRbuFo__5KS44hO-eC1TNlNvSODz1HCmt9HLX7H8,3142
61
+ sapiopycommons-2025.2.5a413.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
62
+ sapiopycommons-2025.2.5a413.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
63
+ sapiopycommons-2025.2.5a413.dist-info/RECORD,,