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

Consistent units #422

Merged
merged 38 commits into from
Mar 13, 2020
Merged

Consistent units #422

merged 38 commits into from
Mar 13, 2020

Conversation

IgnacioJPickering
Copy link
Contributor

Recently there were some minor issues with units being inconsistent between neurochem and torchani. I can't really do much to fix NC/ani-tools but I think this should help us be consistent with ASE, have higher accuracy for all our values (the hartree-kcal conversion factor was too inaccurate for some purposes it seems) and it will also help keep track of units in the future, since unit conversions were hardcoded in different parts of the code (thankfully all conversions were consistent, but still it will be hard to keep up soon)

Comments are welcome

(and sorry again for the previous crazy PR about the forces, after the issues we had yesterday I was kind of paranoid)

@IgnacioJPickering
Copy link
Contributor Author

crap, this is a mess, I had forgotten to merge master into this I think...

torchani/models.py Outdated Show resolved Hide resolved
torchani/__init__.py Outdated Show resolved Hide resolved
@IgnacioJPickering IgnacioJPickering changed the title Consistent units [WIP] Consistent units Mar 11, 2020
torchani/units.py Outdated Show resolved Hide resolved
torchani/units.py Outdated Show resolved Hide resolved
torchani/units.py Outdated Show resolved Hide resolved
@zasdfgbnm
Copy link
Contributor

Is this ready?

@IgnacioJPickering
Copy link
Contributor Author

I think it is I would like to get @farhadrgh opinion though.

Copy link
Contributor

@zasdfgbnm zasdfgbnm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me. I will defer the merge to @farhadrgh

Copy link
Member

@farhadrgh farhadrgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, it looks good to me too!

@farhadrgh farhadrgh merged commit 46f05ae into aiqm:master Mar 13, 2020
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

Successfully merging this pull request may close these issues.

3 participants