boltz-vsynthes 1.0.36__py3-none-any.whl → 1.0.38__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.
- boltz/data/parse/schema.py +4 -0
- boltz/main.py +9 -4
- {boltz_vsynthes-1.0.36.dist-info → boltz_vsynthes-1.0.38.dist-info}/METADATA +1 -1
- {boltz_vsynthes-1.0.36.dist-info → boltz_vsynthes-1.0.38.dist-info}/RECORD +8 -8
- {boltz_vsynthes-1.0.36.dist-info → boltz_vsynthes-1.0.38.dist-info}/WHEEL +0 -0
- {boltz_vsynthes-1.0.36.dist-info → boltz_vsynthes-1.0.38.dist-info}/entry_points.txt +0 -0
- {boltz_vsynthes-1.0.36.dist-info → boltz_vsynthes-1.0.38.dist-info}/licenses/LICENSE +0 -0
- {boltz_vsynthes-1.0.36.dist-info → boltz_vsynthes-1.0.38.dist-info}/top_level.txt +0 -0
boltz/data/parse/schema.py
CHANGED
@@ -1900,6 +1900,10 @@ def parse_boltz_directory(
|
|
1900
1900
|
|
1901
1901
|
targets = []
|
1902
1902
|
for yaml_file in input_dir.glob("*.yaml"):
|
1903
|
+
# Skip hidden files and directories
|
1904
|
+
if yaml_file.name.startswith('.') or any(part.startswith('.') for part in yaml_file.parts):
|
1905
|
+
continue
|
1906
|
+
|
1903
1907
|
try:
|
1904
1908
|
# Load YAML file
|
1905
1909
|
with open(yaml_file, "r") as f:
|
boltz/main.py
CHANGED
@@ -272,7 +272,7 @@ def get_cache_path() -> str:
|
|
272
272
|
|
273
273
|
|
274
274
|
def check_inputs(data: Path) -> list[Path]:
|
275
|
-
"""Check the input data
|
275
|
+
"""Check the input data.
|
276
276
|
|
277
277
|
Parameters
|
278
278
|
----------
|
@@ -282,18 +282,21 @@ def check_inputs(data: Path) -> list[Path]:
|
|
282
282
|
Returns
|
283
283
|
-------
|
284
284
|
list[Path]
|
285
|
-
The list of input
|
285
|
+
The list of input files.
|
286
286
|
|
287
287
|
"""
|
288
|
-
click.echo("Checking input data.")
|
289
|
-
|
290
288
|
# Check if data is a directory
|
291
289
|
if data.is_dir():
|
292
290
|
data: list[Path] = list(data.glob("*"))
|
293
291
|
|
294
292
|
# Filter out non .fasta or .yaml files, raise
|
295
293
|
# an error on directory and other file types
|
294
|
+
filtered_data = []
|
296
295
|
for d in data:
|
296
|
+
# Skip hidden files and directories
|
297
|
+
if d.name.startswith('.') or any(part.startswith('.') for part in d.parts):
|
298
|
+
continue
|
299
|
+
|
297
300
|
if d.is_dir():
|
298
301
|
msg = f"Found directory {d} instead of .fasta or .yaml."
|
299
302
|
raise RuntimeError(msg)
|
@@ -303,6 +306,8 @@ def check_inputs(data: Path) -> list[Path]:
|
|
303
306
|
"please provide a .fasta or .yaml file."
|
304
307
|
)
|
305
308
|
raise RuntimeError(msg)
|
309
|
+
filtered_data.append(d)
|
310
|
+
data = filtered_data
|
306
311
|
else:
|
307
312
|
data = [data]
|
308
313
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
boltz/__init__.py,sha256=F_-so3S40iZrSZ89Ge4TS6aZqwWyZXq_H4AXGDlbA_g,187
|
2
|
-
boltz/main.py,sha256=
|
2
|
+
boltz/main.py,sha256=i5_15JZ9vjZ9RSLZb2F0a7scuQ0QfFkgUQVftTiD3h0,39945
|
3
3
|
boltz/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
boltz/data/const.py,sha256=1M-88Z6HkfKY6MkNtqcj3b9P-oX9xEXluh3qM_u8dNU,26779
|
5
5
|
boltz/data/mol.py,sha256=maOpPHEGX1VVXCIFY6pQNGF7gUBZPAfgSvuPf2QO1yc,34268
|
@@ -40,7 +40,7 @@ boltz/data/parse/mmcif.py,sha256=25kEXCkx-OuaawAs7cdz0fxdRu5_CCO0AV00u84PrjQ,368
|
|
40
40
|
boltz/data/parse/mmcif_with_constraints.py,sha256=WHYZckSqUwu-Nb9vmVmxHmC7uxwVrF7AVUeVKsc5wGQ,51473
|
41
41
|
boltz/data/parse/pdb.py,sha256=iybk4p2UgUy_ABGprDq_xxyPSdm1HAZsGTM0lhxVEwM,1654
|
42
42
|
boltz/data/parse/pdb_download.py,sha256=wge-scX-lOatX0q83W1wOsaql99rYp-6uGWSHEc995M,2718
|
43
|
-
boltz/data/parse/schema.py,sha256=
|
43
|
+
boltz/data/parse/schema.py,sha256=b0Mh1eCg6gTyOQt7GkEFAQdYCZJ1jqAJbUy9Tv53K4E,64781
|
44
44
|
boltz/data/parse/sdf.py,sha256=fs3MQVClDcCzxJaeVYiDuoh-fUrYc8Tcd5Bz8ws3FKI,2052
|
45
45
|
boltz/data/parse/yaml.py,sha256=M3dRQK2mMDue3bPSO_T2ThaVojSMrOV7rMY-KXQvaGQ,2047
|
46
46
|
boltz/data/sample/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -107,9 +107,9 @@ boltz/model/optim/scheduler.py,sha256=nB4jz0CZ4pR4n08LQngExL_pNycIdYI8AXVoHPnZWQ
|
|
107
107
|
boltz/model/potentials/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
108
108
|
boltz/model/potentials/potentials.py,sha256=vev8Vjfs-ML1hyrdv_R8DynG4wSFahJ6nzPWp7CYQqw,17507
|
109
109
|
boltz/model/potentials/schedules.py,sha256=m7XJjfuF9uTX3bR9VisXv1rvzJjxiD8PobXRpcBBu1c,968
|
110
|
-
boltz_vsynthes-1.0.
|
111
|
-
boltz_vsynthes-1.0.
|
112
|
-
boltz_vsynthes-1.0.
|
113
|
-
boltz_vsynthes-1.0.
|
114
|
-
boltz_vsynthes-1.0.
|
115
|
-
boltz_vsynthes-1.0.
|
110
|
+
boltz_vsynthes-1.0.38.dist-info/licenses/LICENSE,sha256=8GZ_1eZsUeG6jdqgJJxtciWzADfgLEV4LY8sKUOsJhc,1102
|
111
|
+
boltz_vsynthes-1.0.38.dist-info/METADATA,sha256=HtZ8GekM9xBSPv24CUhVnarUX_GnVP-_tvIM8HfLCZc,7171
|
112
|
+
boltz_vsynthes-1.0.38.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
113
|
+
boltz_vsynthes-1.0.38.dist-info/entry_points.txt,sha256=n5a5I35ntu9lmyr16oZgHPFY0b0YxjiixY7m7nbMTLc,41
|
114
|
+
boltz_vsynthes-1.0.38.dist-info/top_level.txt,sha256=MgU3Jfb-ctWm07YGMts68PMjSh9v26D0gfG3dFRmVFA,6
|
115
|
+
boltz_vsynthes-1.0.38.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|