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

update lobstertask schema: add bandoverlaps,grosspop and sitepotentials fields #404

Merged
merged 5 commits into from
Jul 18, 2023

Conversation

naik-aakash
Copy link
Contributor

Update Lobstertaskschema

  • Added sitepotentials, bandoverlaps, grosspopulations field to schema
  • Update associated tests

@naik-aakash
Copy link
Contributor Author

Hi @JaGeo , it would be great if you can also have a look at it when feasible

@codecov
Copy link

codecov bot commented Jun 26, 2023

Codecov Report

Merging #404 (3ad31f6) into main (ce0a6f7) will decrease coverage by 0.08%.
The diff coverage is 90.90%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #404      +/-   ##
==========================================
- Coverage   65.03%   64.95%   -0.08%     
==========================================
  Files          74       74              
  Lines        7192     7214      +22     
  Branches      947      952       +5     
==========================================
+ Hits         4677     4686       +9     
- Misses       2216     2228      +12     
- Partials      299      300       +1     
Impacted Files Coverage Δ
src/atomate2/lobster/schemas.py 92.74% <90.90%> (-0.17%) ⬇️

... and 1 file with indirect coverage changes

@JaGeo
Copy link
Member

JaGeo commented Jun 26, 2023

This looks great to me.

One question:
Do you have a test case without band overlaps? Does the schema need to know in advance if the band overlaps are present?

@naik-aakash
Copy link
Contributor Author

This looks great to me.

One question: Do you have a test case without band overlaps? Does the schema need to know in advance if the band overlaps are present?

Hi, Schema checks if bandoverlaps are present, if not then field is set to None.

And the tests in flow already checks the case where the band overlaps file is not present 😃.
So in that case I check if field value is set to None.
https://github.com/naik-aakash/atomate2/blob/cc01a1ec8a224c471c83f3dee1086b1f62e83fbb/tests/vasp/lobster/flows/test_lobster.py#L99
https://github.com/naik-aakash/atomate2/blob/cc01a1ec8a224c471c83f3dee1086b1f62e83fbb/tests/vasp/lobster/flows/test_lobster.py#L173

@JaGeo
Copy link
Member

JaGeo commented Jun 26, 2023

Maybe, you can do a test run on 50 compounds and check if you can recreate all relevant and also the new objects from thr schema 😃.

Then, it's fine from my side.

@naik-aakash
Copy link
Contributor Author

Maybe, you can do a test run on 50 compounds and check if you can recreate all relevant and also the new objects from thr schema 😃.

Then, it's fine from my side.

Yes, on it and will update here and let you know when it is done so it can be merged 😄

@JaGeo
Copy link
Member

JaGeo commented Jun 26, 2023

Great :).

@naik-aakash
Copy link
Contributor Author

naik-aakash commented Jun 27, 2023

Hi @utf , I think this PR is ready to be merged. Can you please review it and if you have any further suggestions, I would be happy to address it

@JaGeo
Copy link
Member

JaGeo commented Jul 12, 2023

Hi @utf, @naik-aakash and I would kindly ask you to have a look at this pull request. We are currently working on a resubmission and a merged pull request would help a lot with regard to repoducibility.
Thank you very much in advance.

@JaGeo
Copy link
Member

JaGeo commented Jul 18, 2023

Not sure how the maintainer list works here at the moment. @janosh, In case you are allowed and have some time, we would love a review because of the issues mentioned above.

@utf
Copy link
Member

utf commented Jul 18, 2023

Sorry for the delay. This all looks good to me!

@utf utf merged commit fa603e3 into materialsproject:main Jul 18, 2023
@janosh
Copy link
Member

janosh commented Jul 18, 2023

@JaGeo I only do reviews and merge minor uncontentious-looking PRs (like docs, linting, tests).

@JaGeo
Copy link
Member

JaGeo commented Jul 18, 2023

Thanks, @utf !

@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.

4 participants