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

Test MP + MatPES set generators #596

Merged
merged 6 commits into from
Oct 28, 2023
Merged

Test MP + MatPES set generators #596

merged 6 commits into from
Oct 28, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Oct 28, 2023

We already had tests for MP and MatPES jobs and flows but none for the set generators. Felt more necessary after the inherit_incar default change in #594 in case other defaults change in the future that might affect the MP/MatPES input sets.

cbc11e4 add tests/vasp/sets/test_mp.py
3364f6a fix: add missing bandgap_tol: float = 1e-4 default to MPMetaGGAStaticSetGenerator
9e1b269 add tests/vasp/sets/test_matpes.py
50b0313 remove excess float precision of more than 8 decimal points in tests

@janosh janosh added testing Test all the things fix Bug fix PR mp MP jobs/workflows labels Oct 28, 2023
@janosh janosh enabled auto-merge (squash) October 28, 2023 14:50
assert_allclose(doc.lobsterout.charge_spilling[0], 0.00989999)
@codecov
Copy link

codecov bot commented Oct 28, 2023

Codecov Report

Merging #596 (dff0409) into main (c02c4ae) will increase coverage by 0.00%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #596   +/-   ##
=======================================
  Coverage   75.52%   75.53%           
=======================================
  Files          83       83           
  Lines        6787     6788    +1     
  Branches     1001     1001           
=======================================
+ Hits         5126     5127    +1     
  Misses       1349     1349           
  Partials      312      312           
Files Coverage Δ
src/atomate2/vasp/sets/mp.py 91.42% <100.00%> (+0.25%) ⬆️

@janosh janosh merged commit 7d33d38 into main Oct 28, 2023
6 checks passed
@janosh janosh deleted the test-mp-matpes-set-generators branch October 28, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix PR mp MP jobs/workflows testing Test all the things
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant