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

Implement add/remove explicit hydrogens #3685

Closed
AlexanderSavelyev opened this issue Dec 11, 2023 · 2 comments · Fixed by #3708
Closed

Implement add/remove explicit hydrogens #3685

AlexanderSavelyev opened this issue Dec 11, 2023 · 2 comments · Fixed by #3708

Comments

@AlexanderSavelyev
Copy link
Contributor

AlexanderSavelyev commented Dec 11, 2023

Background
Need to convert all implicit hydrogens to explicit (and back)

Solution

  • Create a button (after Calculate Values)

  • Label: "Add/Remove explicit hydrogens"

  • Icon: "H" (UX TODO)
    Hide hydrogens

  • The backend function convert_explicit_hydrogens(struct, auto) should be called to add/remove hydrogens (TODO link to Indigo ticket)

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Dec 14, 2023

Temporary solution - execute Layout function to make layout perfect (currently - all H's has the same coordinates, so it looks bad)

After Layout applied:
image

@AliaksandrDziarkach will fix backend side (i.e. Indigo) in task epam/Indigo#1436

@Andrey-Antonov
Copy link
Collaborator

Hide hydrogens

Nitvex pushed a commit that referenced this issue Jan 15, 2024
* #3685 Implement add/remove explicit hydrogens add new functionality

* #3685 Implement add/remove explicit hydrogens update snapshots
Nitvex pushed a commit that referenced this issue Jan 16, 2024
* Backmerge: #3685 Implement add/remove explicit hydrogens add new functionality

* Backmerge:#3685 Implement add/remove explicit hydrogens update snapshots
@Nitvex Nitvex closed this as completed Jan 16, 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.

6 participants