pybiolib 1.2.770__py3-none-any.whl → 1.2.772__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.
@@ -105,6 +105,15 @@ class Runtime:
105
105
  except Exception as e:
106
106
  logger.warning(f'Failed to set result name from file {path_to_file}: {str(e)}')
107
107
 
108
+ @staticmethod
109
+ def set_result_name_from_string(result_name: str) -> None:
110
+ try:
111
+ truncated_name = result_name[:60]
112
+ logger.debug(f'Setting result name to "{truncated_name}" from string')
113
+ Runtime.set_result_name_prefix(truncated_name)
114
+ except Exception as e:
115
+ logger.warning(f'Failed to set result name from string: {str(e)}')
116
+
108
117
  @staticmethod
109
118
  def create_result_note(note: str) -> None:
110
119
  job_id = Runtime.get_job_id()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pybiolib
3
- Version: 1.2.770
3
+ Version: 1.2.772
4
4
  Summary: BioLib Python Client
5
5
  License: MIT
6
6
  Keywords: biolib
@@ -34,7 +34,7 @@ biolib/_internal/types/result.py,sha256=MesSTBXCkaw8HydXgHf1OKGVLzsxhZ1KV5z4w-VI
34
34
  biolib/_internal/types/typing.py,sha256=qrsk8hHcGEbDpU1QQFzHAKnhQxkMe7uJ6pxHeAnfv1Y,414
35
35
  biolib/_internal/utils/__init__.py,sha256=p5vsIFyu-zYqBgdSMfwW9NC_jk7rXvvCbV4Bzd3As7c,630
36
36
  biolib/_internal/utils/multinode.py,sha256=-J3PEAK3NaOwCn--5T7vWHkA3yu5w9QhmuhkQcH-2wY,8229
37
- biolib/_runtime/runtime.py,sha256=mMLMr7GHrABRZ17igjeb_Kmvz2RG73F4p7T_QgV9U1c,5306
37
+ biolib/_runtime/runtime.py,sha256=Z9YVF8e2A1VMdndEf7CIGqvVKHS7FPY0VGmRgLBB7ck,5699
38
38
  biolib/_session/session.py,sha256=US1Y1jfFIAm86-Lq3C7nCXpZXUJXXBVBkND9djMNYxI,1649
39
39
  biolib/api/__init__.py,sha256=mQ4u8FijqyLzjYMezMUUbbBGNB3iFmkNdjXnWPZ7Jlw,138
40
40
  biolib/api/client.py,sha256=2GpKE7QrPgyPdgJgrV7XnZByIJf1n26UCy3aoaHBs1M,7881
@@ -130,8 +130,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
130
130
  biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
131
131
  biolib/utils/seq_util.py,sha256=Ozk0blGtPur_D9MwShD02r_mphyQmgZkx-lOHOwnlIM,6730
132
132
  biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
133
- pybiolib-1.2.770.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
134
- pybiolib-1.2.770.dist-info/METADATA,sha256=fHoN6XVOdGSO1XjYHhkTD0oro_GuCFHWz2HvKY8gIpU,1570
135
- pybiolib-1.2.770.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
136
- pybiolib-1.2.770.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
137
- pybiolib-1.2.770.dist-info/RECORD,,
133
+ pybiolib-1.2.772.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
134
+ pybiolib-1.2.772.dist-info/METADATA,sha256=7epZrh0vQ2vplRyo2cI_-U8MjtUIY_EHqDgMXR11WbM,1570
135
+ pybiolib-1.2.772.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
136
+ pybiolib-1.2.772.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
137
+ pybiolib-1.2.772.dist-info/RECORD,,