boltz-vsynthes 1.0.2__py3-none-any.whl → 1.0.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.
- boltz/main.py +13 -3
- {boltz_vsynthes-1.0.2.dist-info → boltz_vsynthes-1.0.3.dist-info}/METADATA +1 -1
- {boltz_vsynthes-1.0.2.dist-info → boltz_vsynthes-1.0.3.dist-info}/RECORD +7 -7
- {boltz_vsynthes-1.0.2.dist-info → boltz_vsynthes-1.0.3.dist-info}/WHEEL +0 -0
- {boltz_vsynthes-1.0.2.dist-info → boltz_vsynthes-1.0.3.dist-info}/entry_points.txt +0 -0
- {boltz_vsynthes-1.0.2.dist-info → boltz_vsynthes-1.0.3.dist-info}/licenses/LICENSE +0 -0
- {boltz_vsynthes-1.0.2.dist-info → boltz_vsynthes-1.0.3.dist-info}/top_level.txt +0 -0
boltz/main.py
CHANGED
@@ -669,6 +669,10 @@ def process_inputs(
|
|
669
669
|
processed_dir = out_dir / "processed"
|
670
670
|
processed_dir.mkdir(parents=True, exist_ok=True)
|
671
671
|
|
672
|
+
# Create structure directory
|
673
|
+
structure_dir = processed_dir / "structures"
|
674
|
+
structure_dir.mkdir(parents=True, exist_ok=True)
|
675
|
+
|
672
676
|
# Process each input file in its own directory
|
673
677
|
for input_file in data:
|
674
678
|
# Create a subdirectory for this input file
|
@@ -691,7 +695,6 @@ def process_inputs(
|
|
691
695
|
# Create output directories for this file
|
692
696
|
msa_dir = file_out_dir / "msa"
|
693
697
|
records_dir = file_out_dir / "processed" / "records"
|
694
|
-
structure_dir = file_out_dir / "processed" / "structures"
|
695
698
|
processed_msa_dir = file_out_dir / "processed" / "msa"
|
696
699
|
processed_constraints_dir = file_out_dir / "processed" / "constraints"
|
697
700
|
processed_templates_dir = file_out_dir / "processed" / "templates"
|
@@ -701,7 +704,6 @@ def process_inputs(
|
|
701
704
|
file_out_dir.mkdir(parents=True, exist_ok=True)
|
702
705
|
msa_dir.mkdir(parents=True, exist_ok=True)
|
703
706
|
records_dir.mkdir(parents=True, exist_ok=True)
|
704
|
-
structure_dir.mkdir(parents=True, exist_ok=True)
|
705
707
|
processed_msa_dir.mkdir(parents=True, exist_ok=True)
|
706
708
|
processed_constraints_dir.mkdir(parents=True, exist_ok=True)
|
707
709
|
processed_templates_dir.mkdir(parents=True, exist_ok=True)
|
@@ -730,7 +732,7 @@ def process_inputs(
|
|
730
732
|
processed_constraints_dir=processed_constraints_dir,
|
731
733
|
processed_templates_dir=processed_templates_dir,
|
732
734
|
processed_mols_dir=processed_mols_dir,
|
733
|
-
structure_dir=structure_dir,
|
735
|
+
structure_dir=structure_dir, # Use the central structure directory
|
734
736
|
records_dir=records_dir,
|
735
737
|
)
|
736
738
|
|
@@ -1238,6 +1240,14 @@ def predict( # noqa: C901, PLR0915, PLR0912
|
|
1238
1240
|
msg += "s." if len(manifest_filtered.records) > 1 else "."
|
1239
1241
|
click.echo(msg)
|
1240
1242
|
|
1243
|
+
# When skipping structure prediction, we need to ensure structure files exist
|
1244
|
+
if skip_structure:
|
1245
|
+
for record in manifest_filtered.records:
|
1246
|
+
structure_path = out_dir / "predictions" / record.id / f"pre_affinity_{record.id}.npz"
|
1247
|
+
if not structure_path.exists():
|
1248
|
+
msg = f"Structure file not found for {record.id}. Cannot run affinity prediction without structure."
|
1249
|
+
raise FileNotFoundError(msg)
|
1250
|
+
|
1241
1251
|
pred_writer = BoltzAffinityWriter(
|
1242
1252
|
data_dir=processed.targets_dir,
|
1243
1253
|
output_dir=out_dir / "predictions",
|
@@ -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=p-iXEzVh_CAkKZs2MJ7EojQQdIZnC9cYXr9Bax_PrU4,41377
|
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
|
@@ -104,9 +104,9 @@ boltz/model/optim/scheduler.py,sha256=nB4jz0CZ4pR4n08LQngExL_pNycIdYI8AXVoHPnZWQ
|
|
104
104
|
boltz/model/potentials/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
105
105
|
boltz/model/potentials/potentials.py,sha256=vev8Vjfs-ML1hyrdv_R8DynG4wSFahJ6nzPWp7CYQqw,17507
|
106
106
|
boltz/model/potentials/schedules.py,sha256=m7XJjfuF9uTX3bR9VisXv1rvzJjxiD8PobXRpcBBu1c,968
|
107
|
-
boltz_vsynthes-1.0.
|
108
|
-
boltz_vsynthes-1.0.
|
109
|
-
boltz_vsynthes-1.0.
|
110
|
-
boltz_vsynthes-1.0.
|
111
|
-
boltz_vsynthes-1.0.
|
112
|
-
boltz_vsynthes-1.0.
|
107
|
+
boltz_vsynthes-1.0.3.dist-info/licenses/LICENSE,sha256=8GZ_1eZsUeG6jdqgJJxtciWzADfgLEV4LY8sKUOsJhc,1102
|
108
|
+
boltz_vsynthes-1.0.3.dist-info/METADATA,sha256=KQnSi_PP-_Gkz8yG3ED3-a_R4-IUlX92QZxwG8eQe8w,7171
|
109
|
+
boltz_vsynthes-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
110
|
+
boltz_vsynthes-1.0.3.dist-info/entry_points.txt,sha256=n5a5I35ntu9lmyr16oZgHPFY0b0YxjiixY7m7nbMTLc,41
|
111
|
+
boltz_vsynthes-1.0.3.dist-info/top_level.txt,sha256=MgU3Jfb-ctWm07YGMts68PMjSh9v26D0gfG3dFRmVFA,6
|
112
|
+
boltz_vsynthes-1.0.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|