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

Migration graph analysis #181

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Conversation

jmmshn
Copy link
Contributor

@jmmshn jmmshn commented Apr 9, 2021

Changes to StructureGroupDoc

  • Moved code to separate file
  • Added fields for StructureMatcher tolerances
  • Allowed the kwargs to be passed during construction

Moved the structure group builder

  • Moved the working ion and redox ion definition into settings

Added definition of migration graph document in migraiton.py

Added migration builder

  • have a general GroupedThermoDocsBuilder which acts as the base builder that just grabs documents
  • Then insertion InsertionElectrodeBuilder also grabs the working ion entry and builds the electrode docs
  • Finally MigrationGraphBuilder will make the migration graphs

jmmshn added 5 commits May 3, 2021 13:30
- Added fields for StructureMatcher tolerances
- Allowed the kwargs to be passed during construction
requires new pymatgen-diffusion PR
- moved structure group builder to it's own file
- created base builder class  GroupedThermoDocsBuilder that just grabs group docs and thermo docs
- InsertionElectrodeBuilder is now a subclass
@codecov-commenter
Copy link

codecov-commenter commented May 4, 2021

Codecov Report

Merging #181 (65cc9f3) into main (56f38b3) will decrease coverage by 0.16%.
The diff coverage is 92.10%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #181      +/-   ##
==========================================
- Coverage   95.72%   95.56%   -0.17%     
==========================================
  Files          23       24       +1     
  Lines        1592     1667      +75     
==========================================
+ Hits         1524     1593      +69     
- Misses         68       74       +6     
Impacted Files Coverage Δ
emmet-core/emmet/core/migration.py 91.42% <91.42%> (ø)
emmet-core/emmet/core/structure_group.py 95.53% <100.00%> (+0.20%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 56f38b3...65cc9f3. Read the comment docs.

@jmmshn jmmshn changed the title [WIP] Migration graph analysis Migration graph analysis May 4, 2021
utf pushed a commit to utf/emmet that referenced this pull request May 8, 2021
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.

None yet

2 participants