ebi-eva-common-pyutils 0.7.1__py3-none-any.whl → 0.7.3__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.
- ebi_eva_common_pyutils/config.py +6 -0
- {ebi_eva_common_pyutils-0.7.1.dist-info → ebi_eva_common_pyutils-0.7.3.dist-info}/METADATA +2 -2
- {ebi_eva_common_pyutils-0.7.1.dist-info → ebi_eva_common_pyutils-0.7.3.dist-info}/RECORD +7 -7
- {ebi_eva_common_pyutils-0.7.1.data → ebi_eva_common_pyutils-0.7.3.data}/scripts/archive_directory.py +0 -0
- {ebi_eva_common_pyutils-0.7.1.dist-info → ebi_eva_common_pyutils-0.7.3.dist-info}/LICENSE +0 -0
- {ebi_eva_common_pyutils-0.7.1.dist-info → ebi_eva_common_pyutils-0.7.3.dist-info}/WHEEL +0 -0
- {ebi_eva_common_pyutils-0.7.1.dist-info → ebi_eva_common_pyutils-0.7.3.dist-info}/top_level.txt +0 -0
ebi_eva_common_pyutils/config.py
CHANGED
|
@@ -2,6 +2,9 @@ import os
|
|
|
2
2
|
|
|
3
3
|
import yaml
|
|
4
4
|
|
|
5
|
+
from ebi_eva_common_pyutils.logger import logging_config as log_cfg
|
|
6
|
+
|
|
7
|
+
logger = log_cfg.get_logger(__name__)
|
|
5
8
|
|
|
6
9
|
class Configuration:
|
|
7
10
|
"""
|
|
@@ -120,6 +123,9 @@ class WritableConfig(Configuration):
|
|
|
120
123
|
for p in path[:-1]:
|
|
121
124
|
if p not in top_level:
|
|
122
125
|
top_level[p] = {}
|
|
126
|
+
elif not isinstance(top_level[p], dict):
|
|
127
|
+
logger.warning(f'Overwriting existing config path {".".join(path)}')
|
|
128
|
+
top_level[p] = {}
|
|
123
129
|
top_level = top_level[p]
|
|
124
130
|
top_level[path[-1]] = value
|
|
125
131
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ebi-eva-common-pyutils
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.3
|
|
4
4
|
Summary: EBI EVA - Common Python Utilities
|
|
5
5
|
Home-page: https://github.com/EBIVariation/eva-common-pyutils
|
|
6
6
|
License: Apache
|
|
@@ -12,7 +12,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
13
|
License-File: LICENSE
|
|
14
14
|
Requires-Dist: requests (==2.*)
|
|
15
|
-
Requires-Dist: lxml (==
|
|
15
|
+
Requires-Dist: lxml (==5.*)
|
|
16
16
|
Requires-Dist: pyyaml (==6.*)
|
|
17
17
|
Requires-Dist: cached-property (==1.5.*)
|
|
18
18
|
Requires-Dist: retry (==0.*,>0.9)
|
|
@@ -3,7 +3,7 @@ ebi_eva_common_pyutils/assembly_utils.py,sha256=CklyCGlCjlFp0e9pugg6kSsh5L0xfCe2
|
|
|
3
3
|
ebi_eva_common_pyutils/biosamples_communicators.py,sha256=VdOVFJeNcPHGXTMiQGrMCGytKPW1RnAJ41-s6ui3eY4,7410
|
|
4
4
|
ebi_eva_common_pyutils/command_utils.py,sha256=PtelWWqcC0eOwIVesjwBw3F9KaXRzEE_uAUJhQFZ4l8,2340
|
|
5
5
|
ebi_eva_common_pyutils/common_utils.py,sha256=ty_glvfRa3VGhnpAht4qtVkNNmv-IYfVtO958mY-BaA,1192
|
|
6
|
-
ebi_eva_common_pyutils/config.py,sha256=
|
|
6
|
+
ebi_eva_common_pyutils/config.py,sha256=j0lD0mpZiQfvGemrF2PSCJuzV-5SmNdLauFssYvF6t4,5107
|
|
7
7
|
ebi_eva_common_pyutils/ena_utils.py,sha256=S2MmnWQ_9MJjlkaQY_by1-GGbTyi8SKp8XRcpjWnpZs,1465
|
|
8
8
|
ebi_eva_common_pyutils/file_utils.py,sha256=eIlQKSVKkEjMNX7emrDzaQyQdGvQdb64gnfEhb6uYsE,1375
|
|
9
9
|
ebi_eva_common_pyutils/logger.py,sha256=2BXA-dQFkVAyLrF1kC24GcLGxRMaQhJpt41NQv7jpks,5941
|
|
@@ -22,7 +22,7 @@ ebi_eva_common_pyutils/taxonomy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
|
|
|
22
22
|
ebi_eva_common_pyutils/taxonomy/taxonomy.py,sha256=aXmRQ3NAaJotwmmOA2-u2XtcUT6iih-0_e-3QOxynoA,2578
|
|
23
23
|
ebi_eva_common_pyutils/variation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
ebi_eva_common_pyutils/variation/contig_utils.py,sha256=kMNEW_P2yPnd8Xx1tep19hy5ee7ojxz6ZOO1grTQsRQ,5230
|
|
25
|
-
ebi_eva_common_pyutils-0.7.
|
|
25
|
+
ebi_eva_common_pyutils-0.7.3.data/scripts/archive_directory.py,sha256=0lWJ0ju_AB2ni7lMnJXPFx6U2OdTGbe-WoQs-4BfKOM,4976
|
|
26
26
|
ebi_eva_internal_pyutils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
ebi_eva_internal_pyutils/archive_directory.py,sha256=IxVEfh_gaCiT652k0Q_-58fonRusy1yzXu7BCO8yVLo,4989
|
|
28
28
|
ebi_eva_internal_pyutils/config_utils.py,sha256=EGRC5rsmU_ug7OY9-t1UW1XZXRsauSyZB9xPcBux8ts,7909
|
|
@@ -34,8 +34,8 @@ ebi_eva_internal_pyutils/mongodb/__init__.py,sha256=0oyTlkYZCV7udlPl09Zl-sDyE3c9
|
|
|
34
34
|
ebi_eva_internal_pyutils/mongodb/mongo_database.py,sha256=kesaJaaxYFeF_uYZBgL8tbufGKUXll7bXb4WlOS9vKM,9596
|
|
35
35
|
ebi_eva_internal_pyutils/nextflow/__init__.py,sha256=OOiJS8jZOz98q0t77NNog7aI_fFrVxi4kGmiSskuAqM,122
|
|
36
36
|
ebi_eva_internal_pyutils/nextflow/nextflow_pipeline.py,sha256=ew623hhK8jmFLQjJwLZbgBmW9RTiJBEULVqHfIUv_dc,10114
|
|
37
|
-
ebi_eva_common_pyutils-0.7.
|
|
38
|
-
ebi_eva_common_pyutils-0.7.
|
|
39
|
-
ebi_eva_common_pyutils-0.7.
|
|
40
|
-
ebi_eva_common_pyutils-0.7.
|
|
41
|
-
ebi_eva_common_pyutils-0.7.
|
|
37
|
+
ebi_eva_common_pyutils-0.7.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
38
|
+
ebi_eva_common_pyutils-0.7.3.dist-info/METADATA,sha256=JxihFuZa8agK_iZyRSjKVFclbPBirTJsUjlW-UixnSY,903
|
|
39
|
+
ebi_eva_common_pyutils-0.7.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
40
|
+
ebi_eva_common_pyutils-0.7.3.dist-info/top_level.txt,sha256=sXoiqiGU8vlMQpFWDlKrekxhlusk06AhkOH3kSvDT6c,48
|
|
41
|
+
ebi_eva_common_pyutils-0.7.3.dist-info/RECORD,,
|
{ebi_eva_common_pyutils-0.7.1.data → ebi_eva_common_pyutils-0.7.3.data}/scripts/archive_directory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ebi_eva_common_pyutils-0.7.1.dist-info → ebi_eva_common_pyutils-0.7.3.dist-info}/top_level.txt
RENAMED
|
File without changes
|