-
Notifications
You must be signed in to change notification settings - Fork 71
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
Bugfix: OTF parser, ASE md step, OTF checkpoint #214
Conversation
Codecov Report
@@ Coverage Diff @@
## development #214 +/- ##
===============================================
- Coverage 54.84% 54.70% -0.14%
===============================================
Files 47 47
Lines 10613 10609 -4
===============================================
- Hits 5821 5804 -17
- Misses 4792 4805 +13
Continue to review full report at Codecov.
|
… bugfix/yu/ase_otf
…into bugfix/yu/ase_otf
Just a comment but the body of this PR is really beautifully formatted, nice job! I want to steal some of these ideas (I like the check boxes). |
OTF
test_parser_otf.py
is based on a fixed filetest_otf_parser
at the end oftest_otf
andtest_ase_otf
, making sure thatOtfAnalysis
andmake_gp
will not report errortest_parser_otf.py
is not yet changed, since it's based on an old file, which is a validation of backward compatibilityASE
step()
, which does something like:and we are using this step function in otf. The consequence is when the atoms' calculator is DFT, both
f
andnew_f
will be calculated by the DFT calculator, but we don't want thenew_f
to be. I changed themd_step
function inase/otf.py
to adapt to this.Note: when using
NPT
the adaptation is not applied if thepfactor
is not set toNone
, this will be left as a TODO.Structure
, the functionsfrom_ase_atoms
&to_ase_atoms
now also transfer forces, energy, stress. close Structure.from_ase_atoms does not copy forces #158Docs