Skip to content

fix nopbc in finetune, DeepTensor test, and DipoleChargeModifier#2461

Merged
wanghan-iapcm merged 3 commits into
deepmodeling:develfrom
njzjz:fix-finetune-nopbc
Apr 20, 2023
Merged

fix nopbc in finetune, DeepTensor test, and DipoleChargeModifier#2461
wanghan-iapcm merged 3 commits into
deepmodeling:develfrom
njzjz:fix-finetune-nopbc

Conversation

@njzjz

@njzjz njzjz commented Apr 17, 2023

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz njzjz requested review from iProzd and y1xiaoc April 17, 2023 20:46
@njzjz njzjz requested review from wanghan-iapcm and removed request for y1xiaoc April 17, 2023 20:47
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@codecov

codecov Bot commented Apr 17, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 31.25% and project coverage change: -0.06 ⚠️

Comparison is base (69e712c) 74.40% compared to head (cc5271e) 74.35%.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #2461      +/-   ##
==========================================
- Coverage   74.40%   74.35%   -0.06%     
==========================================
  Files         227      227              
  Lines       23394    23401       +7     
  Branches     1673     1673              
==========================================
- Hits        17407    17400       -7     
- Misses       4891     4905      +14     
  Partials     1096     1096              
Impacted Files Coverage Δ
deepmd/utils/data.py 93.70% <0.00%> (ø)
deepmd/entrypoints/test.py 8.46% <14.28%> (-0.06%) ⬇️
deepmd/infer/data_modifier.py 88.31% <50.00%> (-0.79%) ⬇️
deepmd/fit/ener.py 89.15% <66.66%> (-0.24%) ⬇️

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@wanghan-iapcm wanghan-iapcm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Actually the dplr data modifier does not work with open system (nopbc), because we use the Ewald algorithm, which assumes PBC, to compute the Coulomb interaction.

We shall through an error rather than taking box to None

@wanghan-iapcm wanghan-iapcm merged commit 1a9b9c9 into deepmodeling:devel Apr 20, 2023
hztttt pushed a commit to hztttt/deepmd-kit that referenced this pull request Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants