Skip to content

Commit

Permalink
Merged and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriottm committed Aug 28, 2023
1 parent 51fa08c commit 0bb9009
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/chemiscope/structures/_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,7 @@ def ellipsoid_from_tensor(tensor, scale=1.0, force_positive=False):
try:
from scipy.spatial.transform import Rotation
except ImportError as e:
raise RuntimeError(
"scipy is required to construct arrow shapes"
) from e
raise RuntimeError("scipy is required to construct arrow shapes") from e
quaternion = Rotation.from_matrix(rotation).as_quat()

return dict(
Expand Down

0 comments on commit 0bb9009

Please sign in to comment.