User 870ab5b546
31-08-2012 17:49:54
Draw CS(C)([O-])[O-]. Now press the + button and increase the charge on S to 2+. Notice that Marvin also adds implicit H atoms to S. This is a very severe bug. I should be able to draw C(C)([O-])[O-] without the H atoms appearing on the S. The same thing happens if you start with CS(C)(=O)[O-] and add a single + to S.
Similar things happen on the back end. If I go into Edit -> Source and edit C[SH2++](C)([O-])[O-] to remove the H atoms, I can get a good picture of C(C)([O-])[O-]. But if I submit it to the back end, JChem still thinks there are H atoms on S. For example, it will calculate the MW as 96 instead of 94.
I cannot emphasize enough how severe this error is. It's one thing to write something ridiculous like NH74+ and have Marvin not recognize it as ridiculous. It's completely different for Marvin to take a correct structure and convert it into an incorrect one. Please fix immediately!