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

Fixes for chargedensity insertion and DefectEntry #103

Merged
merged 9 commits into from
Feb 27, 2023
Merged

Conversation

jmmshn
Copy link
Collaborator

@jmmshn jmmshn commented Feb 24, 2023

Charge Density Intersitial Finding

Current implementation error if there is only one local minimum since the distanace matrix cannot be constructed for clustering.
You can skip the clustering code if you don't have more than one local minimum.

Defect Entry

Originally the FormationEnergyDiagram is defined by a set of DefectEntrys and one bulk_entry.
In a messier database the workflow might require you to stich together different defect/bulk pairs.
Aso since the energtrices of each charge state is solely determined by the a defect/bulk entry pair it makes more sense to keep them together for posterity.

@jmmshn jmmshn changed the title Minor fix for chargedensity insertion Fixes for chargedensity insertion and DefectEntry Feb 24, 2023
@codecov
Copy link

codecov bot commented Feb 24, 2023

Codecov Report

Base: 91.02% // Head: 91.23% // Increases project coverage by +0.21% 🎉

Coverage data is based on head (580028e) compared to base (56f7d65).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   91.02%   91.23%   +0.21%     
==========================================
  Files          11       11              
  Lines        1771     1769       -2     
  Branches      311      310       -1     
==========================================
+ Hits         1612     1614       +2     
+ Misses         90       88       -2     
+ Partials       69       67       -2     
Impacted Files Coverage Δ
pymatgen/analysis/defects/utils.py 91.75% <ø> (ø)
pymatgen/analysis/defects/thermo.py 93.03% <100.00%> (+1.16%) ⬆️

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 jmmshn merged commit 60b055e into main Feb 27, 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.

1 participant