boltz-vsynthes 1.0.23__py3-none-any.whl → 1.0.25__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/sdf.py +3 -1
- {boltz_vsynthes-1.0.23.dist-info → boltz_vsynthes-1.0.25.dist-info}/METADATA +1 -1
- {boltz_vsynthes-1.0.23.dist-info → boltz_vsynthes-1.0.25.dist-info}/RECORD +7 -7
- {boltz_vsynthes-1.0.23.dist-info → boltz_vsynthes-1.0.25.dist-info}/WHEEL +0 -0
- {boltz_vsynthes-1.0.23.dist-info → boltz_vsynthes-1.0.25.dist-info}/entry_points.txt +0 -0
- {boltz_vsynthes-1.0.23.dist-info → boltz_vsynthes-1.0.25.dist-info}/licenses/LICENSE +0 -0
- {boltz_vsynthes-1.0.23.dist-info → boltz_vsynthes-1.0.25.dist-info}/top_level.txt +0 -0
boltz/data/parse/sdf.py
CHANGED
@@ -5,6 +5,7 @@ from typing import Optional
|
|
5
5
|
from rdkit import Chem
|
6
6
|
from rdkit.Chem import AllChem
|
7
7
|
from rdkit.Chem.rdchem import Mol
|
8
|
+
from rdkit.Chem.rdmolfiles import SDMolSupplier
|
8
9
|
import rdkit.Chem.rdmolfiles as rdmolfiles
|
9
10
|
|
10
11
|
from boltz.data.types import Target
|
@@ -25,11 +26,12 @@ def _process_sdf(sdf_path: str) -> dict[str, str]:
|
|
25
26
|
Dictionary mapping molecule names to SMILES strings.
|
26
27
|
"""
|
27
28
|
output_dict = {}
|
28
|
-
suppl =
|
29
|
+
suppl = SDMolSupplier(sdf_path)
|
29
30
|
|
30
31
|
for mol in suppl:
|
31
32
|
if mol is not None:
|
32
33
|
mol_smiles = rdmolfiles.MolToSmiles(mol)
|
34
|
+
print(mol_smiles)
|
33
35
|
if mol.HasProp("_Name"):
|
34
36
|
mol_name = mol.GetProp("_Name")
|
35
37
|
if mol_name == "":
|
@@ -41,7 +41,7 @@ boltz/data/parse/mmcif_with_constraints.py,sha256=WHYZckSqUwu-Nb9vmVmxHmC7uxwVrF
|
|
41
41
|
boltz/data/parse/pdb.py,sha256=X4u1ZzSFk0Xy8LRbCCMVlbAzWeGddo2O4SQuk_WyS-k,1656
|
42
42
|
boltz/data/parse/pdb_download.py,sha256=YLxCidVkRLlvZ0uCCSnRTP7Yz1-AYv9hz_SO3_xecWk,2769
|
43
43
|
boltz/data/parse/schema.py,sha256=L58Z-rmTozh2BrSaFEF4FhZb-Nw68OmMVBenuig_I9M,60872
|
44
|
-
boltz/data/parse/sdf.py,sha256=
|
44
|
+
boltz/data/parse/sdf.py,sha256=SRj4kktjILhHZToyp9O0B9RXc8hvnXcPJb0adveWJlU,2139
|
45
45
|
boltz/data/parse/yaml.py,sha256=GRFRMtDD4PQ4PIpA_S1jj0vRaEu2LlZd_g4rN1zUrNo,1505
|
46
46
|
boltz/data/sample/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
47
47
|
boltz/data/sample/cluster.py,sha256=9Sx8qP7zGZOAyEspwYFtCTbGTBZnuN-zfCKFbbA_6oI,8175
|
@@ -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.25.dist-info/licenses/LICENSE,sha256=8GZ_1eZsUeG6jdqgJJxtciWzADfgLEV4LY8sKUOsJhc,1102
|
111
|
+
boltz_vsynthes-1.0.25.dist-info/METADATA,sha256=JKankFdmc6PiFLHXIX3bN4BHQ_vFA-JOc3vTnHvK5p0,7171
|
112
|
+
boltz_vsynthes-1.0.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
113
|
+
boltz_vsynthes-1.0.25.dist-info/entry_points.txt,sha256=n5a5I35ntu9lmyr16oZgHPFY0b0YxjiixY7m7nbMTLc,41
|
114
|
+
boltz_vsynthes-1.0.25.dist-info/top_level.txt,sha256=MgU3Jfb-ctWm07YGMts68PMjSh9v26D0gfG3dFRmVFA,6
|
115
|
+
boltz_vsynthes-1.0.25.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|