pybiolib 1.2.695__py3-none-any.whl → 1.2.701__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.
@@ -5,3 +5,7 @@ Code comments should only be added for complex logic or unintuitive code that is
5
5
  Unit tests are not necessary. Tests should instead be written as simple examples demonstrating the functionality of relevant functions.
6
6
 
7
7
  Always use 4 spaces for indentation when writing code.
8
+
9
+ When running BioLib Apps, use [this file](prompts/biolib_run_apps.prompt.md) as context to understand how that works.
10
+
11
+ When working with BioLib App inputs, use [this file](prompts/biolib_app_inputs.prompt.md) as context to understand how the different files should be connected and formatted.
biolib/cli/init.py CHANGED
@@ -15,12 +15,17 @@ def init() -> None:
15
15
  if os.path.exists(config_file_path):
16
16
  print(f'The file "{config_file_path}" already exists', file=sys.stderr)
17
17
  exit(1)
18
- else:
18
+
19
+ try:
20
+ project_name = input('Enter a name for your project: ')
21
+
19
22
  os.makedirs(f'{cwd}/.biolib', exist_ok=True)
20
23
  with open(config_file_path, 'w') as config_file:
21
24
  config_file.write(templates.example_app.CONFIG_YML)
22
25
 
23
- if not os.path.exists(readme_path):
24
- with open(readme_path, 'w') as readme_file:
25
- project_name = input('Enter a name for your project: ')
26
- readme_file.write(f'# {project_name}\n')
26
+ if not os.path.exists(readme_path):
27
+ with open(readme_path, 'w') as readme_file:
28
+ readme_file.write(f'# {project_name}\n')
29
+ except KeyboardInterrupt:
30
+ print('\nInit command cancelled.', file=sys.stderr)
31
+ exit(1)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pybiolib
3
- Version: 1.2.695
3
+ Version: 1.2.701
4
4
  Summary: BioLib Python Client
5
5
  License: MIT
6
6
  Keywords: biolib
@@ -13,7 +13,7 @@ biolib/_internal/lfs/__init__.py,sha256=gSWo_xg61UniYgD7yNYxeT4I9uaXBCBSi3_nmZjn
13
13
  biolib/_internal/lfs/cache.py,sha256=pQS2np21rdJ6I3DpoOutnzPHpLOZgUIS8TMltUJk_k4,2226
14
14
  biolib/_internal/libs/__init__.py,sha256=Jdf4tNPqe_oIIf6zYml6TiqhL_02Vyqwge6IELrAFhw,98
15
15
  biolib/_internal/libs/fusepy/__init__.py,sha256=AWDzNFS-XV_5yKb0Qx7kggIhPzq1nj_BZS5y2Nso08k,41944
16
- biolib/_internal/llm_instructions/.github/copilot-instructions.md,sha256=7xW_wXe-2QAJnMnyANGLd_RTB7Nw0BX_2crKLQUUMYc,403
16
+ biolib/_internal/llm_instructions/.github/copilot-instructions.md,sha256=OAaZIipjpTA7_9dVygvLejdJRz5Gu1jOlT8bMsZh71c,697
17
17
  biolib/_internal/llm_instructions/.github/prompts/biolib_app_inputs.prompt.md,sha256=DcBUNaViuNfXoomj-IVUcIcBtJlXuIYOroUfDM_R6wU,3212
18
18
  biolib/_internal/llm_instructions/.github/prompts/biolib_run_apps.prompt.md,sha256=HYv-MgpQKIU7Hv90SvZ3tqXY6KWxYVnqamXDRyInOHM,7926
19
19
  biolib/_internal/llm_instructions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -67,7 +67,7 @@ biolib/cli/__init__.py,sha256=IHC2bEyA27pvgp-18SGfFVJOP456elanz7suDP8D084,1316
67
67
  biolib/cli/auth.py,sha256=rpWGmXs6Fz6CGrO9K8ibPRszOdXG78Vig_boKaVCD9A,2082
68
68
  biolib/cli/data_record.py,sha256=t8DfJK2EZ_SNZ9drDA_N5Jqy8DNwf9f5SlFrIaOvtv0,3501
69
69
  biolib/cli/download_container.py,sha256=HIZVHOPmslGE5M2Dsp9r2cCkAEJx__vcsDz5Wt5LRos,483
70
- biolib/cli/init.py,sha256=wQOfii_au-d30Hp7DdH-WVw-WVraKvA_zY4za1w7DE8,821
70
+ biolib/cli/init.py,sha256=GBMSrRAgNISqyqyisF2cYrKioTXJqFgkwASgA8VLnXc,936
71
71
  biolib/cli/lfs.py,sha256=z2qHUwink85mv9yDgifbVKkVwuyknGhMDTfly_gLKJM,4151
72
72
  biolib/cli/push.py,sha256=RxB4RHpjtL27Fpq7WRGojJ53R9jUuE1Cq9_NmHFzNsM,1306
73
73
  biolib/cli/run.py,sha256=MCo0ZqW2pHBxOoCI3i5gAx5D0auW9fmxHqkAF4TRhms,2134
@@ -126,8 +126,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
126
126
  biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
127
127
  biolib/utils/seq_util.py,sha256=Ozk0blGtPur_D9MwShD02r_mphyQmgZkx-lOHOwnlIM,6730
128
128
  biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
129
- pybiolib-1.2.695.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
130
- pybiolib-1.2.695.dist-info/METADATA,sha256=s2pT0xaDCsV1lBAcfsLyCiSLFXx61Wtjtpc3GKqKm58,1570
131
- pybiolib-1.2.695.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
132
- pybiolib-1.2.695.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
133
- pybiolib-1.2.695.dist-info/RECORD,,
129
+ pybiolib-1.2.701.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
130
+ pybiolib-1.2.701.dist-info/METADATA,sha256=r4sy2tMZgB6dLiUiCnJAPjL-cuw09JWJvayRQIAMsE8,1570
131
+ pybiolib-1.2.701.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
132
+ pybiolib-1.2.701.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
133
+ pybiolib-1.2.701.dist-info/RECORD,,