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

Identical levels #4

Open
mbradle opened this issue Oct 12, 2023 · 0 comments
Open

Identical levels #4

mbradle opened this issue Oct 12, 2023 · 0 comments

Comments

@mbradle
Copy link
Collaborator

mbradle commented Oct 12, 2023

When lvlspy updates data from XML, it will overwrite an existing level that has the same energy and multiplicity as a new level. When the new level has the same energy but different multiplicity, the new level will be added without removing the old level. This will cause an issue with transitions.

Such a case only arises because the input is correct, but it would be useful to check or handle this somehow. Possibilities are in the schema, in the equality for the levels, or outside the API.

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

No branches or pull requests

1 participant