Skip to content

missing support for NHC-carbenes which are trivalent #1972

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

Open
nbehrnd opened this issue Feb 25, 2025 · 2 comments
Open

missing support for NHC-carbenes which are trivalent #1972

nbehrnd opened this issue Feb 25, 2025 · 2 comments

Comments

@nbehrnd
Copy link
Contributor

nbehrnd commented Feb 25, 2025

Avogadro version: 1.100.0-7-gac3f38f:

  • Avogadrolibs: 1.100-0-55-g11334699
  • Qt: 5.12.2

Desktop version:

  • OS: Windows
  • Version 10, 64bit
  • Compiler (if you built from source)

Describe the bug
The import of a .mol file about an NHC carbene complex into Avogadro initially displays the molecular backbone. However -- contrary to expectation -- the automatic adjustment of the hydrogens equally adds hydrogen atoms to the trivalent NHC carbene carbons despite they 1) are labeled as trivalent in the .mol file read, and 2) they already bind to three non-H atoms.

This is observed with both syntaxies, i.e. regardless if there is a 3 in the tenth column of the atom block (v2000 format), or the equivalent VAL=3 in the v3000 format.

To Reproduce
Steps to reproduce the behavior:

  1. With Biovia Draw (version 24.1.0.1870), the structure is sketched. To define carbons in question as trivalent NHC carbene, highlight them. A subsequent right-click opens a new menu Atom Property with an entry Valence... to select (III).
  2. Export the structure by File -> Save as in the .mol format
  3. Now in Avogadro, access structure file with File -> Open
  4. Add the missing hydrogens with Ctrl + Alt + H, or Build -> Hydrogens -> Adjust Hydrogens

Expected behavior
Ideally, the adjustment of hydrogens does not hydrogens NHC-carbene carbons, let alone if all three valences already are engaged with three non-H atoms.

Screenshots

Structure as defined in BioVia Draw:

Image

Import of e.g., the .mol (v2000) after the automatic adjustment of hydrogens:

Image

Additional context

2025-02-25_NHC_carbene.zip

@nbehrnd
Copy link
Contributor Author

nbehrnd commented Feb 25, 2025

If Avogadro's addition of hydrogen atoms relies on openbabel, the issue might relate to the one filed for openbabel (reported here).

@ghutchis ghutchis transferred this issue from OpenChemistry/avogadroapp Feb 25, 2025
@ghutchis
Copy link
Member

No, we handle MDL files internally and don't have support for the VAL component. Shouldn't be too hard to fix with the example file.

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