Skip to content

Commit

Permalink
remove error import raise (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmmentel committed May 13, 2024
1 parent 1c7d917 commit c6a4742
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mendeleev/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,3 @@ def __getattr__(name):
element_obj = element(name) # noqa: F405
globals()[name] = element_obj
return element_obj
raise ImportError(
f"module 'mendeleev' has no element with symbol '{name}', please check you spelling"
)

0 comments on commit c6a4742

Please sign in to comment.