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

args: add shuffle_poscar to run jdata #806

Merged
merged 3 commits into from
Jul 21, 2022

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Jul 16, 2022

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jul 16, 2022

Codecov Report

Merging #806 (786b8a7) into devel (32a9996) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##            devel     #806      +/-   ##
==========================================
+ Coverage   35.12%   35.13%   +0.01%     
==========================================
  Files          96       96              
  Lines       16793    16805      +12     
==========================================
+ Hits         5898     5904       +6     
- Misses      10895    10901       +6     
Impacted Files Coverage Δ
dpgen/generator/arginfo.py 45.37% <0.00%> (-2.21%) ⬇️
dpgen/generator/run.py 63.68% <0.00%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 32a9996...786b8a7. Read the comment docs.

@@ -159,6 +160,7 @@ def model_devi_lmp_args() -> List[Argument]:
doc=doc_model_devi_nopbc),
Argument("model_devi_activation_func", list, optional=True,
doc=doc_model_devi_activation_func),
Argument("shuffle_poscar", bool, optional=False, doc=doc_shuffle_poscar),
Copy link
Contributor

Choose a reason for hiding this comment

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

Better to set optional=True, default=False

@wanghan-iapcm
Copy link
Contributor

@njzjz any hint why the UTs fail...?

@wanghan-iapcm wanghan-iapcm merged commit 8750a83 into deepmodeling:devel Jul 21, 2022
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