Chem4Word / Version3

Version 3 of Chem4Word - A Chemistry Add-In for Microsoft Word
https://www.chem4word.co.uk
Other
51 stars 14 forks source link

Erroneous formula calculation (Caffeine) #23

Closed theycallmevirgo closed 4 years ago

theycallmevirgo commented 4 years ago

Describe the bug The plugin calculates an incorrect formula for caffeine.

To Reproduce Steps to reproduce the behaviour:

  1. Go to Chemistry tab
  2. Click on Draw
  3. Draw caffeine molecule
  4. Click on Edit Labels Expected behavior Chem4Word: ResolvedFormula should read C8H10N4O2 Screenshots

image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

deadlyvices commented 4 years ago

That's because you're missing a nitrogen. The 6 membered ring should have 2 nitrogen atoms. You only have one. image