Open sneumann opened 8 years ago
The problem is: getMolecule("H", z=0)$exactmass yields the identical result as getMolecule("H", z=1)$exactmass Both are: 1.00782 A possible workaround would be: elements=c( initializePSE(),initializeCharges() ) getMolecule("H+", elements=elements)$exactmass 1.00727 or subtracting the electron mass manually. However, function does not work as expected...
The z=-1/0/+1 parameter needs proper testing:
https://github.com/sneumann/Rdisop/blob/devel/inst/unitTests/runit.charges.R-disabled