Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no YAeHMOP support on Mac ARM for rdkit 2023.05 #96

Open
juius opened this issue Mar 27, 2024 · 2 comments
Open

no YAeHMOP support on Mac ARM for rdkit 2023.05 #96

juius opened this issue Mar 27, 2024 · 2 comments

Comments

@juius
Copy link

juius commented Mar 27, 2024

Version 2023.5 seems to be compiled without YAeHMOP support, 2022.05 has it on same machine.
Error message comes from

from rdkit import Chem
from rdkit.Chem import rdDetermineBonds
mol = Chem.MolFromXYZBlock("2\n\nH 0.0 0.0 0.0\nH 0.74 0.0 0.0\n")
rdDetermineBonds.DetermineConnectivity(mol,useHueckel=True)
@kuelumbus
Copy link
Owner

Thanks for reporting this. I can repo this.

I can see the YAeHMOP build running in the build logs. -DRDK_BUILD_YAEHMOP_SUPPORT=ON is also set. From Release_2023_09_3, rdkit throws the error:

In [1]: from rdkit import Chem
   ...: from rdkit.Chem import rdDetermineBonds
   ...: mol = Chem.MolFromXYZBlock("2\n\nH 0.0 0.0 0.0\nH 0.74 0.0 0.0\n")
   ...: rdDetermineBonds.DetermineConnectivity(mol,useHueckel=True)
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[1], line 4
      2 from rdkit.Chem import rdDetermineBonds
      3 mol = Chem.MolFromXYZBlock("2\n\nH 0.0 0.0 0.0\nH 0.74 0.0 0.0\n")
----> 4 rdDetermineBonds.DetermineConnectivity(mol,useHueckel=True)

ValueError: The RDKit was not compiled with YAeHMOP support

Seems like there was some restructuring of YAeHMOP in
rdkit/rdkit@Release_2023_09_2...Release_2023_09_3

@greglandrum can you help?

@greglandrum
Copy link

This is due to a mistake I made when attempting to make the YAeHMOP support optional for DetermineConnectivity.
I'll fix it for the 2024.03.2 release.
Thanks for pointing out the problem @juius

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants