Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 27, 2024
1 parent e4201d0 commit aea0f7d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions structuretoolkit/analyse/symmetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,13 @@ def info(self):
https://atztogo.github.io/spglib/python-spglib.html
"""
info = dataclasses.asdict(spglib.get_symmetry_dataset(
cell=self._get_spglib_cell(use_magmoms=False),
symprec=self._symprec,
angle_tolerance=self._angle_tolerance,
))
info = dataclasses.asdict(
spglib.get_symmetry_dataset(
cell=self._get_spglib_cell(use_magmoms=False),
symprec=self._symprec,
angle_tolerance=self._angle_tolerance,
)
)
if info is None:
raise SymmetryError(spglib.spglib.spglib_error.message)
return info
Expand Down

0 comments on commit aea0f7d

Please sign in to comment.