Identifying rings in system with fused rings. #7445
thesonofmoon
started this conversation in
Development
Replies: 1 comment 1 reply
-
It might be easier to use the mol.GetRingInfo and just prune the molecule
output
You have one case where a non aromatic is fused to an aromatic ring, I'm assuming you want to report this as non-aromatic. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Currently I am trying to write a code that is able to identify rings and determine how large the rings are and whether they are aromatic or not. What this means is that I want the output of the code to be for one the non-aromatic rings, if they are fused or not, and how many aromatic rings there are and if they are fused give their trivial name like naphthalene or anthracene.
print("Non-aromatic rings found:", unique_ring_matches)
print("Fused rings found:", fused_ring_matches)
print("Aromatic rings found:", aromatic_ring_matches)
I truly appreciate your help!
Here my initial ideas, so if you want to modify it so it works for example for anthracene or Linagliptin
Beta Was this translation helpful? Give feedback.
All reactions