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

Species should parse oxi state from strings like "O2-" #2997

Closed
janosh opened this issue May 18, 2023 · 0 comments · Fixed by #2998
Closed

Species should parse oxi state from strings like "O2-" #2997

janosh opened this issue May 18, 2023 · 0 comments · Fixed by #2998
Labels
enhancement A new feature or improvement to an existing one feature request Request for a new feature

Comments

@janosh
Copy link
Member

janosh commented May 18, 2023

from pymatgen.core import Species

Species("O2-")
>>> ValueError: 'O2-' is not a valid Element
@janosh janosh added feature request Request for a new feature enhancement A new feature or improvement to an existing one labels May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement to an existing one feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant