-
Notifications
You must be signed in to change notification settings - Fork 137
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
adapt dpdata interface to ABACUS 2.2.0, fixed issue#268 about qe/pw/scf #270
Conversation
add running_md.log file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR includes two modifications. 1, adapt to abacus 2.2 and 2 fix issue #268 . Please raise two separate PRs next time for each modification.
Could you please also explain if your PR is backward compatible? Does it work with older abacus versions?
dpdata/abacus/md.py
Outdated
@@ -97,53 +99,47 @@ def get_coords_from_cif(ndump, dump_freq, atom_names, natoms, types, path_out, c | |||
pos_file = os.path.join(path_out, "md_pos_%d.cif" %(dump_idx*dump_freq)) | |||
#print("dump_idx = %s" %dump_idx) | |||
coords[dump_idx] = get_single_coord_from_cif(pos_file, atom_names, natoms, cell) | |||
return coords | |||
return coords''' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please REMOVE the lines if you do not need them anymore. Do NOT use the doc string to comment out the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR includes two modifications. 1, adapt to abacus 2.2 and 2 fix issue #268 . Please raise two separate PRs next time for each modification.
Could you please also explain if your PR is backward compatible? Does it work with older abacus versions?
The PR is no longer backward compatible. I consulted my tutor Mohan and he asked me to do so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please REMOVE the lines if you do not need them anymore. Do NOT use the doc string to comment out the code.
Sorry for that. I will fix it.
Codecov Report
@@ Coverage Diff @@
## devel #270 +/- ##
==========================================
- Coverage 81.65% 81.38% -0.28%
==========================================
Files 61 61
Lines 5185 5115 -70
==========================================
- Hits 4234 4163 -71
- Misses 951 952 +1
Continue to review full report at Codecov.
|
No description provided.