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

Update {Elastic,run,surf,Vasp,vasp}.py: To be compatible with Pymatgen #1302

Merged
merged 30 commits into from
Oct 31, 2023

Conversation

ZhouXY-PKU
Copy link
Contributor

@ZhouXY-PKU ZhouXY-PKU commented Aug 4, 2023

To be compatible with old and new versions of Pymatgen (materialsproject/pymatgen#3158)

Compatible with Pymatgen>=2023.7.12

Signed-off-by: Levi Zhou  <[email protected]>
Copy link
Member

@njzjz njzjz left a comment

Choose a reason for hiding this comment

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

This PR breaks compatibility with old versions, so the minimal version in requirements should be bumped.

ZhouXY-PKU and others added 9 commits August 5, 2023 09:48
To be compatible with Pymatgen

Signed-off-by: Levi Zhou  <[email protected]>
To be compatible with Pymatgen

Signed-off-by: Levi Zhou  <[email protected]>
To be compatible with Pymatgen

Signed-off-by: Levi Zhou  <[email protected]>
To be compatible with Pymatgen

Signed-off-by: Levi Zhou  <[email protected]>
To be compatible with Pymatgen

Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
@njzjz njzjz changed the base branch from master to devel August 5, 2023 04:40
@ZhouXY-PKU ZhouXY-PKU requested a review from njzjz August 5, 2023 08:51
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
@ZhouXY-PKU ZhouXY-PKU changed the title Update run.py: To be compatible with Pymatgen Update {Elastic,run,surf,Vasp,vasp}.py: To be compatible with Pymatgen Aug 6, 2023
@ZhouXY-PKU
Copy link
Contributor Author

This PR breaks compatibility with old versions, so the minimal version in requirements should be bumped.

Thanks for your review! I think the minimal version in requirements is already bumped now.

@wanghan-iapcm
Copy link
Contributor

Please fix the UTs. Thanks

ZhouXY-PKU and others added 6 commits August 7, 2023 18:15
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
@ZhouXY-PKU
Copy link
Contributor Author

ZhouXY-PKU commented Aug 7, 2023

Please fix the UTs. Thanks

Sorry that there have been some mistakes. I think it can work now.

@codecov
Copy link

codecov bot commented Aug 7, 2023

Codecov Report

Patch coverage: 33.33% and project coverage change: -0.05% ⚠️

Comparison is base (1944bc9) 47.79% compared to head (b86bedc) 47.75%.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #1302      +/-   ##
==========================================
- Coverage   47.79%   47.75%   -0.05%     
==========================================
  Files          82       82              
  Lines       14588    14615      +27     
==========================================
+ Hits         6973     6979       +6     
- Misses       7615     7636      +21     
Files Changed Coverage Δ
dpgen/auto_test/Elastic.py 61.73% <0.00%> (-0.96%) ⬇️
dpgen/auto_test/lib/vasp.py 39.09% <0.00%> (-0.57%) ⬇️
dpgen/auto_test/VASP.py 71.17% <50.00%> (-0.68%) ⬇️
dpgen/data/surf.py 71.82% <50.00%> (-0.25%) ⬇️
dpgen/generator/run.py 66.42% <50.00%> (-0.14%) ⬇️

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

Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
Signed-off-by: Levi Zhou  <[email protected]>
@wanghan-iapcm wanghan-iapcm merged commit d58530b into deepmodeling:devel Oct 31, 2023
5 checks passed
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