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

Plotting #67

Merged
merged 29 commits into from
Jan 5, 2023
Merged

Plotting #67

merged 29 commits into from
Jan 5, 2023

Conversation

nwinner
Copy link
Contributor

@nwinner nwinner commented Dec 16, 2022

First pass at plotting functionality for new defects module.

@codecov
Copy link

codecov bot commented Dec 16, 2022

Codecov Report

Base: 91.10% // Head: 91.24% // Increases project coverage by +0.14% 🎉

Coverage data is based on head (6c5ec70) compared to base (72ec88a).
Patch coverage: 90.54% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
+ Coverage   91.10%   91.24%   +0.14%     
==========================================
  Files          11       11              
  Lines        1663     1736      +73     
  Branches      280      298      +18     
==========================================
+ Hits         1515     1584      +69     
- Misses         84       85       +1     
- Partials       64       67       +3     
Impacted Files Coverage Δ
pymatgen/analysis/defects/thermo.py 92.81% <90.54%> (+0.50%) ⬆️

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jmmshn
Copy link
Collaborator

jmmshn commented Jan 1, 2023

@nwinner can you add a small test to cover the plotting?

@nwinner
Copy link
Contributor Author

nwinner commented Jan 3, 2023

@nwinner can you add a small test to cover the plotting?

There's a small test now. Doesn't do much at the moment just makes sure no errors are raised basically

@nwinner
Copy link
Contributor Author

nwinner commented Jan 5, 2023

@jmmshn Code coverage is not high enough for plotting. The things not covered by tests are actually covered, but because of the structure using a fixture instead of putting it directly in pytest, I don't think its picked up.

If you want to be super strict about coverage, I can try some other ways to get it to recognize the coverage, otherwise it's probably ready to merge.

@jmmshn
Copy link
Collaborator

jmmshn commented Jan 5, 2023

no worries I was a bit busy writing this week. I will merge and release now.

@jmmshn jmmshn merged commit 3d5a99e into materialsproject:main Jan 5, 2023
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.

2 participants