-
Notifications
You must be signed in to change notification settings - Fork 175
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
make more examples pass argument tests #870
Conversation
Codecov Report
@@ Coverage Diff @@
## devel #870 +/- ##
=======================================
Coverage 38.11% 38.12%
=======================================
Files 99 99
Lines 17780 17782 +2
=======================================
+ Hits 6777 6779 +2
Misses 11003 11003
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
dpgen/generator/arginfo.py
Outdated
|
||
args = [ | ||
Argument("ecut", int, optional=False, doc=doc_ecut), | ||
Argument("ediff", float, optional=False, doc=doc_ediff), | ||
Argument("kspacing", float, optional=False, doc=doc_kspacing), | ||
Argument("mixingweight", float, optional=False, doc=doc_mixingweight), | ||
Argument("kspacing", [float, int], optional=False, doc=doc_kspacing), |
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.
Why kspacing
can be int
?
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.
It's not clear to me if the following example is a typo or not. I am not familiar with siesta.
dpgen/examples/run/deprecated/dp0.12-lammps-siesta/dp-lammps-siesta/CH4/param_CH4.json
Line 129 in 8dea29e
"kspacing": 1, |
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.
cc @Silvia-liu
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.
It should be "kspacing" : 1.0,
Since these examples are modified to pass the current argument tests, are they still available for |
I don't think there are any differences in DP-GEN parameters between However, it should be a good idea to upgrade all DeePMD-kit parameters from 1.x to 2.x. |
No description provided.