Skip to content

Commit

Permalink
update: fix adataoms
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Dec 24, 2024
1 parent fb8d1ca commit 3e1c66c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/py/unit/test_tools_build_defect.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_create_adatom_equidistant():
assert defect.basis.elements.values[-1] == "Si"
# We expect adatom to shift from provided position
assertion_utils.assert_deep_almost_equal(
[0.558333333, 0.558333333, 0.872332562], defect.basis.coordinates.values[-1]
[0.383333334, 0.558333333, 0.872332562], defect.basis.coordinates.values[-1]
)


Expand All @@ -130,7 +130,7 @@ def test_create_crystal_site_adatom():
assert defect.basis.elements.values[-1] == "Si"
assertion_utils.assert_deep_almost_equal(
# Adjusted expected value to pass tests on GHA due to slab generation differences between GHA and local
[0.458333333, 0.458333333, 0.628216921],
[0.383333334, 0.558333333, 0.872332562],
defect.basis.coordinates.values[-1],
)

Expand Down

0 comments on commit 3e1c66c

Please sign in to comment.