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

addImplicitHydrogens and helpers #67

Open
lpatiny opened this issue Feb 7, 2022 · 1 comment
Open

addImplicitHydrogens and helpers #67

lpatiny opened this issue Feb 7, 2022 · 1 comment

Comments

@lpatiny
Copy link

lpatiny commented Feb 7, 2022

@thsa I have a problem that after adding implicit hydrogens the cHelpers array for neighbour is not correct anymore.

https://github.com/Actelion/openchemlib/blob/master/src/main/java/com/actelion/research/chem/contrib/HydrogenHandler.java#L280-L286

What would be the best way ? Recalculate at the end of the function the helper array ?

So adding

molecule.ensureHelperArrays(Molecule.cHelperNeighbours);

Just before turning from the function ?

@thsa
Copy link
Contributor

thsa commented Feb 11, 2022 via email

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

2 participants