Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron mass and Charge=z not (always?) considered. #7

Open
sneumann opened this issue Apr 25, 2016 · 2 comments
Open

Electron mass and Charge=z not (always?) considered. #7

sneumann opened this issue Apr 25, 2016 · 2 comments

Comments

@sneumann
Copy link
Owner

The z=-1/0/+1 parameter needs proper testing:

https://github.com/sneumann/Rdisop/blob/devel/inst/unitTests/runit.charges.R-disabled

@jalic
Copy link

jalic commented Apr 25, 2016

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...

@janlisec
Copy link
Contributor

Can be closed. Solved in PR #31.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants