pybiolib 1.2.1175__py3-none-any.whl → 1.2.1187__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.
- biolib/_internal/push_application.py +9 -1
- {pybiolib-1.2.1175.dist-info → pybiolib-1.2.1187.dist-info}/METADATA +1 -1
- {pybiolib-1.2.1175.dist-info → pybiolib-1.2.1187.dist-info}/RECORD +6 -6
- {pybiolib-1.2.1175.dist-info → pybiolib-1.2.1187.dist-info}/LICENSE +0 -0
- {pybiolib-1.2.1175.dist-info → pybiolib-1.2.1187.dist-info}/WHEEL +0 -0
- {pybiolib-1.2.1175.dist-info → pybiolib-1.2.1187.dist-info}/entry_points.txt +0 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
import json
|
1
2
|
import os
|
2
3
|
import re
|
3
4
|
import sys
|
@@ -238,7 +239,14 @@ def push_application(
|
|
238
239
|
app_data_path: Optional[Path] = None
|
239
240
|
try:
|
240
241
|
with open(config_yml_path) as config_yml_file:
|
241
|
-
|
242
|
+
try:
|
243
|
+
config = json.loads(json.dumps(yaml.safe_load(config_yml_file.read())))
|
244
|
+
except (TypeError, ValueError) as e:
|
245
|
+
raise BioLibError(
|
246
|
+
f'The .biolib/config.yml file contains data types that are not supported '
|
247
|
+
f'(must be JSON-serializable). Please ensure only standard JSON types '
|
248
|
+
f'(str, int, float, bool, list, dict, null) are used. Original error: {e}'
|
249
|
+
) from e
|
242
250
|
|
243
251
|
app_data = config.get('app_data') or config.get('assets')
|
244
252
|
if app_data:
|
@@ -16,7 +16,7 @@ biolib/_internal/lfs/__init__.py,sha256=gSWo_xg61UniYgD7yNYxeT4I9uaXBCBSi3_nmZjn
|
|
16
16
|
biolib/_internal/lfs/cache.py,sha256=pQS2np21rdJ6I3DpoOutnzPHpLOZgUIS8TMltUJk_k4,2226
|
17
17
|
biolib/_internal/libs/__init__.py,sha256=Jdf4tNPqe_oIIf6zYml6TiqhL_02Vyqwge6IELrAFhw,98
|
18
18
|
biolib/_internal/libs/fusepy/__init__.py,sha256=AWDzNFS-XV_5yKb0Qx7kggIhPzq1nj_BZS5y2Nso08k,41944
|
19
|
-
biolib/_internal/push_application.py,sha256=
|
19
|
+
biolib/_internal/push_application.py,sha256=5y5j3U6lf8VjXXeCqiQgMjGkwBH-tmqEW7WhpgTtaTs,19105
|
20
20
|
biolib/_internal/runtime.py,sha256=BiHl4klUHr36MCpqKaUso4idHeBZfPAahLYRQrabFqA,486
|
21
21
|
biolib/_internal/string_utils.py,sha256=N7J7oGu6_yA_z0pOiKqxEh__lRdiDLh6kigeDkQEZ5g,265
|
22
22
|
biolib/_internal/templates/__init__.py,sha256=NVbhLUMC8HITzkLvP88Qu7FHaL-SvQord-DX3gh1Ykk,24
|
@@ -157,8 +157,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
|
|
157
157
|
biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
|
158
158
|
biolib/utils/seq_util.py,sha256=rImaghQGuIqTVWks6b9P2yKuN34uePUYPUFW_Wyoa4A,6737
|
159
159
|
biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
|
160
|
-
pybiolib-1.2.
|
161
|
-
pybiolib-1.2.
|
162
|
-
pybiolib-1.2.
|
163
|
-
pybiolib-1.2.
|
164
|
-
pybiolib-1.2.
|
160
|
+
pybiolib-1.2.1187.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
|
161
|
+
pybiolib-1.2.1187.dist-info/METADATA,sha256=KiLgziEE4QsvPYWHOD4WGzFsKQYlX15d8FMOj29gK1E,1571
|
162
|
+
pybiolib-1.2.1187.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
163
|
+
pybiolib-1.2.1187.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
|
164
|
+
pybiolib-1.2.1187.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|