Skip to content

Commit

Permalink
moved VECexample.py to examples/vec_example.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannduma committed Aug 22, 2024
1 parent c085b49 commit b9a303a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion smact/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def get_element_valence(element: str) -> int:
try:
return smact.Element(element).num_valence_modified
except AttributeError:
raise ValueError(f"Valence data not found for element: {element}")
raise ValueError(f"Valence data not found for element: {element}") from None

element_stoich = parse_formula(compound)

Expand Down

0 comments on commit b9a303a

Please sign in to comment.