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 Jan 12, 2025
1 parent a7d3f42 commit ed961bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test_table_data(model):
rows = model.table_data[1:] # skip table header
for i, row in enumerate(rows):
position = model.structure.sites[i].position
x, y, z = [f"{coordinate:.2f}" for coordinate in position]
x, y, z = (f"{coordinate:.2f}" for coordinate in position)
assert row == [i + 1, "Si", 0, x, y, z] # type: ignore

assert model.title == "Structure"
Expand Down

0 comments on commit ed961bc

Please sign in to comment.