Skip to content

Commit

Permalink
re-raise import
Browse files Browse the repository at this point in the history
  • Loading branch information
RMeli committed Jul 31, 2024
1 parent 29e1fd6 commit 5d381b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spyrmsd/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
numbonds,
to_molecule,
)
except ImportError:
except ImportError as e:
# Use sPyRMSD as standalone library
__all__ = []
raise e
else:
# Avoid flake8 complaint "imported but unused"
__all__ = [
Expand Down

0 comments on commit 5d381b2

Please sign in to comment.