Skip to content

Conversation

@njzjz
Copy link
Member

@njzjz njzjz commented Jan 24, 2024

Add a dpdata driver via the plugin mechanism (override that in the dpdata package) so it can benefit from the multiple-backend DeepPot. Currently, the driver in the dpdata package has to support both v1 and v2 for backward compatibility. When shipped within the deepmd-kit package, it only needs to support the current deepmd-kit version.

Add a dpdata driver via the plugin mechaism (override that in the dpdata package), so it can be benifited from the multiple-backend DeepPot. Currently, the driver in the dpdata package has to support both v1 and v2 for backward compatibility. When shipped within the deepmd-kit package, we only need to support the current deepmd-kit version.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@codecov
Copy link

codecov bot commented Jan 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5dfbb55) 76.06% compared to head (e7e973c) 76.09%.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3174      +/-   ##
==========================================
+ Coverage   76.06%   76.09%   +0.02%     
==========================================
  Files         280      281       +1     
  Lines       25644    25672      +28     
  Branches     1591     1591              
==========================================
+ Hits        19507    19535      +28     
  Misses       5213     5213              
  Partials      924      924              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@wanghan-iapcm wanghan-iapcm left a comment

Choose a reason for hiding this comment

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

could you please provide a test case for cell==None?

@njzjz
Copy link
Member Author

njzjz commented Jan 24, 2024

could you please provide a test case for cell==None?

Good idea. I see it is not covered.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@wanghan-iapcm wanghan-iapcm merged commit 4e11233 into deepmodeling:devel Jan 24, 2024
@njzjz njzjz mentioned this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants