-
Notifications
You must be signed in to change notification settings - Fork 2
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
To Do: Hydrogen accounting via bond orders #14
Comments
I think the correct solution is to count aromatic bond orders as 1, and deduct 1 for the valency from each aromatic atom. |
But, those carbons have valency 4. Subtract 3 bonds (of which 2 aromatic), subtract 1 because it's aromatic, leaves 0, right? |
yes but not in the place where you're thinking. because during the resolve process the valency is not known |
Fixing the hydrogens should be the very very last thing right? |
this has been solved with #29 |
At the moment the code applies several pysmiles functions to add the right number of hydrogen atoms. In principle we should be able to just get that from the correct bond orders, however, aromaticity is kind of preventing this. The current code works but we should clean this up at some point. Related to PR #12.
The text was updated successfully, but these errors were encountered: