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

Fix Lobsterenv Bug #3637

Merged
merged 6 commits into from Feb 21, 2024
Merged

Conversation

naik-aakash
Copy link
Contributor

@naik-aakash naik-aakash commented Feb 21, 2024

Bug

The charges read from file are not assigned

Fix

Fix the erroneous if else condition introduced during #3624

Todo

  • Add test

@naik-aakash naik-aakash changed the title Fix Lobsterenv Bug [WIP] Fix Lobsterenv Bug Feb 21, 2024
@janosh
Copy link
Member

janosh commented Feb 21, 2024

Thanks! Can you add a test to catch future regressions?

@naik-aakash
Copy link
Contributor Author

Thanks! Can you add a test to catch future mistakes?

Yes, just added one now

@naik-aakash naik-aakash changed the title [WIP] Fix Lobsterenv Bug Fix Lobsterenv Bug Feb 21, 2024
@naik-aakash
Copy link
Contributor Author

naik-aakash commented Feb 21, 2024

Hi @janosh , can a new release of Pymatgen be made please? As this is bug breaks our LobsterPy package JaGeo/LobsterPy#232

Sorry for the inconvenience.

@janosh janosh enabled auto-merge (squash) February 21, 2024 14:49
@janosh
Copy link
Member

janosh commented Feb 21, 2024

Hi @janosh , can a new release of Pymatgen be made please?

we just had one today so i'd prefer to accumulate a few more changes before the next release

@JaGeo
Copy link
Member

JaGeo commented Feb 21, 2024

@janosh , this currently prevents our on-going JOSS review for LobsterPy. We could use the latest master branch from pymatgen for the release but it's not exactly best practice.

@janosh janosh merged commit 42ce1ae into materialsproject:master Feb 21, 2024
22 checks passed
@janosh
Copy link
Member

janosh commented Feb 21, 2024

i see. let's also get in #3593 (awaiting OP) and then we can release

@JaGeo
Copy link
Member

JaGeo commented Feb 21, 2024

@janosh Thanks!

@janosh janosh added io Input/output functionality fix Bug fix PRs lobster Lobster package (Local Orbital Basis Suite Towards Electronic-Structure Reconstruction) labels Feb 23, 2024
@janosh
Copy link
Member

janosh commented Feb 23, 2024

v2024.2.23 should be on PyPI in ~1h.

@naik-aakash
Copy link
Contributor Author

v2024.2.23 should be on PyPI in ~1h.

Thanks 😄

@naik-aakash naik-aakash deleted the lobsterenv_improvements branch March 13, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix PRs io Input/output functionality lobster Lobster package (Local Orbital Basis Suite Towards Electronic-Structure Reconstruction)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants