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

Expose Fold/Unfold hydrogens function in indigo API #1436

Closed
AliaksandrDziarkach opened this issue Dec 11, 2023 · 0 comments · Fixed by #1437
Closed

Expose Fold/Unfold hydrogens function in indigo API #1436

AliaksandrDziarkach opened this issue Dec 11, 2023 · 0 comments · Fixed by #1437

Comments

@AliaksandrDziarkach
Copy link
Collaborator

AliaksandrDziarkach commented Dec 11, 2023

Indigo should allow retrieval of chemical structures with either implicit or explicit representation of hydrogen atoms. For this purpose a new API function should be introduced:

New API function "convert_explicit_hydrogens":
At least two parameters:

  1. struct - molecule data
  2. mode - auto/fold/unfold. auto is default. If auto used - should check explicit hydrogens and if any explicit hydrogen defined - do "fold"(which means convert explicit hydrogens to implicit), otherwise - "unfold"(which means convert implicit hydrogens to explicit).
@AliaksandrDziarkach AliaksandrDziarkach self-assigned this Dec 11, 2023
@AliaksandrDziarkach AliaksandrDziarkach changed the title Expose Fold/Unfold hydrogens in indigo API Expose Fold/Unfold hydrogens function in indigo API Dec 12, 2023
This was referenced Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants