dayhoff-tools 1.5.1__py3-none-any.whl → 1.5.2__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.
Potentially problematic release.
This version of dayhoff-tools might be problematic. Click here for more details.
- dayhoff_tools/warehouse.py +6 -2
- {dayhoff_tools-1.5.1.dist-info → dayhoff_tools-1.5.2.dist-info}/METADATA +1 -1
- {dayhoff_tools-1.5.1.dist-info → dayhoff_tools-1.5.2.dist-info}/RECORD +5 -5
- {dayhoff_tools-1.5.1.dist-info → dayhoff_tools-1.5.2.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.5.1.dist-info → dayhoff_tools-1.5.2.dist-info}/entry_points.txt +0 -0
dayhoff_tools/warehouse.py
CHANGED
|
@@ -6,8 +6,6 @@ from io import StringIO
|
|
|
6
6
|
from pathlib import Path
|
|
7
7
|
from zoneinfo import ZoneInfo
|
|
8
8
|
|
|
9
|
-
from ruamel.yaml import YAML
|
|
10
|
-
|
|
11
9
|
# Import cloud helper lazily inside functions to avoid heavy deps at module load
|
|
12
10
|
|
|
13
11
|
|
|
@@ -135,6 +133,8 @@ def format_yaml_with_meta_spacing(yaml_str: str) -> str:
|
|
|
135
133
|
|
|
136
134
|
def update_dvc_files(directory):
|
|
137
135
|
"""Traverse directory and update .dvc files with human-readable size, preserving existing formatting"""
|
|
136
|
+
from ruamel.yaml import YAML
|
|
137
|
+
|
|
138
138
|
yaml = YAML()
|
|
139
139
|
yaml.preserve_quotes = True
|
|
140
140
|
yaml.indent(mapping=2, sequence=4, offset=2)
|
|
@@ -249,6 +249,8 @@ def import_from_warehouse(
|
|
|
249
249
|
subprocess.run(command, check=True)
|
|
250
250
|
|
|
251
251
|
# Copy meta section from warehouse_path to final_path.dvc
|
|
252
|
+
from ruamel.yaml import YAML
|
|
253
|
+
|
|
252
254
|
yaml = YAML()
|
|
253
255
|
yaml.preserve_quotes = True
|
|
254
256
|
yaml.indent(mapping=2, sequence=4, offset=2)
|
|
@@ -309,6 +311,8 @@ def add_to_warehouse(
|
|
|
309
311
|
|
|
310
312
|
# Process each ancestor .dvc file
|
|
311
313
|
ancestors = []
|
|
314
|
+
from ruamel.yaml import YAML
|
|
315
|
+
|
|
312
316
|
yaml_loader = YAML()
|
|
313
317
|
yaml_loader.preserve_quotes = True
|
|
314
318
|
yaml_loader.indent(mapping=2, sequence=4, offset=2)
|
|
@@ -26,8 +26,8 @@ dayhoff_tools/intake/structure.py,sha256=ufN3gAodQxhnt7psK1VTQeu9rKERmo_PhoxIbB4
|
|
|
26
26
|
dayhoff_tools/intake/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJqE4,16456
|
|
27
27
|
dayhoff_tools/logs.py,sha256=DKdeP0k0kliRcilwvX0mUB2eipO5BdWUeHwh-VnsICs,838
|
|
28
28
|
dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
|
|
29
|
-
dayhoff_tools/warehouse.py,sha256=
|
|
30
|
-
dayhoff_tools-1.5.
|
|
31
|
-
dayhoff_tools-1.5.
|
|
32
|
-
dayhoff_tools-1.5.
|
|
33
|
-
dayhoff_tools-1.5.
|
|
29
|
+
dayhoff_tools/warehouse.py,sha256=fV3goH2cH1Y0oLpGERnu4p70P2JfByJHjBh_oMRv9C0,23134
|
|
30
|
+
dayhoff_tools-1.5.2.dist-info/METADATA,sha256=sb8H_nJZYquFb8E_uvrj2xT3stsRS4x_uHdxQk7z15A,2824
|
|
31
|
+
dayhoff_tools-1.5.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
32
|
+
dayhoff_tools-1.5.2.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
|
33
|
+
dayhoff_tools-1.5.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|