Open liu7A opened 1 year ago
This looks like a backreference parsing bug. Reference 1
to the first carbon in the chain should have been cleared as soon as the next 1
linked back to it. But it looks like when parsing reaches the end of the SMILES string, 1
still refers to the original carbon.
You can work around this by using 6
instead of 1
for the other reference:
C(C1=CC=CC=C1)6=CC=C(C2C=CC(C3C=CC(C4C=CC(C5C=CC=CC=5)=CC=4)=CC=3)=CC=2)C=C6
hi bro, I like SMILES DRAWER! THX.
I used a MOLVIEW to draw a number of benzene rings, and a large ring shape appeared on the SMILES_DRAWER.
SMILES: C(C1=CC=CC=C1)1=CC=C(C2C=CC(C3C=CC(C4C=CC(C5C=CC=CC=5)=CC=4)=CC=3)=CC=2)C=C1
MOLVIEW:
SMILES_DRAWER: