User 870ab5b546
20-09-2011 19:42:40
I would like to be able to use these JMSketch methods in Javascript:
getAtomSymbol(int atomNum)
getAtomValenceProperty(int atomNum)
setAtomValenceProperty(int atomNum, int value)
getAtomCharge(int atomNum)
setAtomCharge(int atomNum, int chg)
getAtomRadicalState(int atomNum)
setAtomRadicalState(int atomNum, int radState)
Right now, to change the charge or valence property of a single atom, I have to use Javascript String methods to manipulate the entire MRV string and then use setMol().
I'm sure it would be useful to be able to manipulate other atom properties (radical state, etc.) as well as bond properties (order, stereochemistry) in the same way.