Skip to content

Commit c8a1d78

Browse files
committed
[FIX] catch all errors on 3d generation
1 parent 721b905 commit c8a1d78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/deepmol/compound_featurization/rdkit_descriptors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def generate_conformers_with_timeout(new_mol, etkg_version, optimization_mode):
218218
try:
219219
new_mol = copy.deepcopy(mol)
220220
return generate_conformers_with_timeout(new_mol, etkdg_version, mode)
221-
except (TimeoutError, ValueError):
221+
except:
222222
return mol
223223

224224
def generate(self, dataset: Dataset, etkdg_version: int = 3, mode: str = "MMFF94"):

0 commit comments

Comments
 (0)