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

Extension of Lobster schema and additional tests #272

Merged
merged 12 commits into from
Mar 18, 2023

Conversation

JaGeo
Copy link
Member

@JaGeo JaGeo commented Mar 18, 2023

Summary

This extends the Lobster schema in such a way, that always all bonds and all cation-anion bonds will be included in the automatic analysis of the COHPs. Furthermore, re-plotting should now be much easier than before as I save Cohps.
I have also included more tests for the schema. In this way, I also found another error in the implementation. There was an error in the (refactored) detection of the StrongestBonds. I should have written better tests in the first place.

@codecov
Copy link

codecov bot commented Mar 18, 2023

Codecov Report

Merging #272 (a3855b9) into main (add2653) will increase coverage by 0.06%.
The diff coverage is 94.11%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #272      +/-   ##
==========================================
+ Coverage   79.39%   79.45%   +0.06%     
==========================================
  Files          78       78              
  Lines        7686     7690       +4     
  Branches      987      987              
==========================================
+ Hits         6102     6110       +8     
- Misses       1290     1291       +1     
+ Partials      294      289       -5     
Impacted Files Coverage Δ
src/atomate2/vasp/flows/lobster.py 94.44% <ø> (ø)
src/atomate2/lobster/schemas.py 92.82% <94.11%> (+6.56%) ⬆️

... and 1 file with indirect coverage changes

@JaGeo
Copy link
Member Author

JaGeo commented Mar 18, 2023

I removed some files from the test data that were not needed. I hope this is fine to merge now. I will vanish into the weekend now.

@utf
Copy link
Member

utf commented Mar 18, 2023

Thanks @JaGeo!

@utf utf merged commit a3725d7 into materialsproject:main Mar 18, 2023
@JaGeo
Copy link
Member Author

JaGeo commented Mar 18, 2023

Thanks!

We will use it for data generation in the next weeks and again check it in detail. Unfortunately, it takes a bit of time to make sure the workflows, computational settings, and schemas are of very good quality and work for every use-case.

@JaGeo JaGeo deleted the lobster_schema_erweiterung branch March 20, 2023 08:07
@utf utf added the enhancement Improvements to existing features label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants