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

Sanity-check if data is returned for orbital-projected bands #255

Open
ajjackson opened this issue Jan 6, 2025 · 0 comments
Open

Sanity-check if data is returned for orbital-projected bands #255

ajjackson opened this issue Jan 6, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ajjackson
Copy link
Member

In #254 the user sees a confusing error message related to a missing spin key from the orbital-projected data dictionary.

In fact, bs.get_projections_on_elements_and_orbitals has returned an empty dictionary. We could explicitly check for that scenario and raise a more informative error (suggesting to check if LORBIT was set...)

@ajjackson ajjackson added enhancement New feature or request good first issue Good for newcomers labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant