pybiolib 1.2.888__py3-none-any.whl → 1.2.897__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.
@@ -2,20 +2,11 @@ import argparse
2
2
 
3
3
  from biolib.sdk import Runtime
4
4
 
5
+ parser = argparse.ArgumentParser(description='Process some biological sequences.')
6
+ parser.add_argument('--input', type=str, required=True, help='Input protein sequences')
7
+ args = parser.parse_args()
5
8
 
6
- def parse_args():
7
- parser = argparse.ArgumentParser(description='Process some biological sequences.')
8
- parser.add_argument('--input', type=str, required=True, help='Input protein sequences')
9
- return parser.parse_args()
9
+ # update the BioLib result name based on the provided file
10
+ Runtime.set_result_name_from_file(args.input)
10
11
 
11
-
12
- def main(args):
13
- sequence = args.input
14
- # Add your processing logic here
15
- print(f'Received sequence: {sequence}')
16
-
17
-
18
- if __name__ == '__main__':
19
- args = parse_args()
20
- Runtime.set_result_name_prefix_from_fasta(args.input)
21
- main(args)
12
+ print(f'Processing input file {args.input}...')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pybiolib
3
- Version: 1.2.888
3
+ Version: 1.2.897
4
4
  Summary: BioLib Python Client
5
5
  License: MIT
6
6
  Keywords: biolib
@@ -30,7 +30,7 @@ biolib/_internal/templates/init_template/.github/workflows/biolib.yml,sha256=sph
30
30
  biolib/_internal/templates/init_template/.gitignore,sha256=dR_jhtT0boUspgk3S5PPUwuO0o8gKGIbdwu8IH638CY,20
31
31
  biolib/_internal/templates/init_template/Dockerfile,sha256=Wv2r9aiazkL1wOf_BT1f5Kx_-txfrqSkYTtWI8HGdL8,169
32
32
  biolib/_internal/templates/init_template/requirements.txt,sha256=2GnBHsKg4tX5F06Z4YeLuId6jQO3-HGTITsaVBTDG0Y,42
33
- biolib/_internal/templates/init_template/run.py,sha256=GS2qGGmFGIthdxdSxZbGktwZc8x3Q2IVLubpp7hEROw,529
33
+ biolib/_internal/templates/init_template/run.py,sha256=oat-Vzcz4XZilrTtgy8CzfltBAa5v6iduGof4Tuulhg,402
34
34
  biolib/_internal/templates/init_template/run.sh,sha256=CF25MYW8vNcZee6_Lydg0o5JDWG0YbrSvFHhMJ5I6x0,39
35
35
  biolib/_internal/templates/templates.py,sha256=-o0VdRMwPhnzL4VlCe3BZYl1aI9HLKtOmNjs6gu9fIQ,101
36
36
  biolib/_internal/tree_utils.py,sha256=_Q_6_NDtIiROcefymqxEVddjqti6Mt3OZ4U0GcDW61s,3904
@@ -141,8 +141,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
141
141
  biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
142
142
  biolib/utils/seq_util.py,sha256=Ozk0blGtPur_D9MwShD02r_mphyQmgZkx-lOHOwnlIM,6730
143
143
  biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
144
- pybiolib-1.2.888.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
145
- pybiolib-1.2.888.dist-info/METADATA,sha256=d8BcaYijJJYC_RoL6MBx00unC4RItgvRhhT-skOVXXo,1570
146
- pybiolib-1.2.888.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
147
- pybiolib-1.2.888.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
148
- pybiolib-1.2.888.dist-info/RECORD,,
144
+ pybiolib-1.2.897.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
145
+ pybiolib-1.2.897.dist-info/METADATA,sha256=1uDEFqNE52A_jRETKr_IfRWhJbqDhXO6gsXHSeEWa8U,1570
146
+ pybiolib-1.2.897.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
147
+ pybiolib-1.2.897.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
148
+ pybiolib-1.2.897.dist-info/RECORD,,