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

optional flag to return task doc with chgcar #419

Merged
merged 8 commits into from
Oct 29, 2021
Merged

Conversation

jmmshn
Copy link
Collaborator

@jmmshn jmmshn commented Oct 28, 2021

No description provided.

For materials with no valid charge density task_id like `mp-1104953` the current version gets an empty list at line 756 then errors out at the sorting step.
This change should fix that.  Also, I think it makes sense to return `None` here since we are not guaranteeing every single charge density.
black

black
inc_task
@codecov-commenter
Copy link

codecov-commenter commented Oct 28, 2021

Codecov Report

Merging #419 (f280ef8) into main (8c4670c) will increase coverage by 0.17%.
The diff coverage is 80.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #419      +/-   ##
==========================================
+ Coverage   92.56%   92.74%   +0.17%     
==========================================
  Files          63       63              
  Lines        2032     2039       +7     
==========================================
+ Hits         1881     1891      +10     
+ Misses        151      148       -3     
Impacted Files Coverage Δ
src/mp_api/client.py 96.15% <80.00%> (+0.15%) ⬆️
src/mp_api/routes/__init__.py 100.00% <0.00%> (ø)
src/mp_api/routes/_general_store/client.py 100.00% <0.00%> (+100.00%) ⬆️

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 8c4670c...f280ef8. Read the comment docs.

@munrojm munrojm added the release:patch Patch release label Oct 28, 2021
@munrojm munrojm merged commit ae62b6c into main Oct 29, 2021
@munrojm munrojm deleted the missing_chg_patch branch November 3, 2021 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:patch Patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants