Skip to content

Commit

Permalink
Store custom species as a model attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Oct 17, 2024
1 parent 0427cec commit 5487829
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions emle/models/_emle.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ def __init__(
raise ValueError(
"All elements of 'species' must be greater than zero"
)
# Use the custom species.
self._species = species
else:
# Use the default species.
species = self._species
Expand Down

0 comments on commit 5487829

Please sign in to comment.