Connect multiple benzene rings, presenting a large circle
liu7A opened this issue · 1 comments
liu7A commented
xavierholt commented
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