Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_symmetry_ops for TestMagneticSpaceGroup of symmetry.maggroups is failing #4207

Open
DanielYang59 opened this issue Nov 29, 2024 · 0 comments

Comments

@DanielYang59
Copy link
Contributor

DanielYang59 commented Nov 29, 2024

After fixing assert_str_content_equal implementations in #4205, noticed the following test for TestMagneticSpaceGroup of symmetry.maggroups is failing.

Note: to recreate the following failures, you have to pull the assert_str_content_equal fix from #4205.

cc @mkhorton

pytest tests/symmetry/test_maggroups.py::TestMagneticSpaceGroup::test_symmetry_ops

E           AssertionError: Strings are not equal (whitespaces ignored):
E           ===================== Actual =====================
E           x, y, z, +1
E           -x+3/4, -y+3/4, z, +1
E           -x, -y, -z, +1
E           x+1/4, y+1/4, -z, +1
E           x, -y+3/4, -z+3/4, -1
E           -x+3/4, y, -z+3/4, -1
E           -x, y+1/4, z+1/4, -1
E           x+1/4, -y, z+1/4, -1
E           x, y+1/2, z+1/2, +1
E           -x+3/4, -y+1/4, z+1/2, +1
E           -x, -y+1/2, -z+1/2, +1
E           x+1/4, y+3/4, -z+1/2, +1
E           x, -y+1/4, -z+1/4, -1
E           -x+3/4, y+1/2, -z+1/4, -1
E           -x, y+3/4, z+3/4, -1
E           x+1/4, -y+1/2, z+3/4, -1
E           x+1/2, y, z+1/2, +1
E           -x+1/4, -y+3/4, z+1/2, +1
E           -x+1/2, -y, -z+1/2, +1
E           x+3/4, y+1/4, -z+1/2, +1
E           x+1/2, -y+3/4, -z+1/4, -1
E           -x+1/4, y, -z+1/4, -1
E           -x+1/2, y+1/4, z+3/4, -1
E           x+3/4, -y, z+3/4, -1
E           x+1/2, y+1/2, z, +1
E           -x+1/4, -y+1/4, z, +1
E           -x+1/2, -y+1/2, -z, +1
E           x+3/4, y+3/4, -z, +1
E           x+1/2, -y+1/4, -z+3/4, -1
E           -x+1/4, y+1/2, -z+3/4, -1
E           -x+1/2, y+3/4, z+1/4, -1
E           x+3/4, -y+1/2, z+1/4, -1
E           ==================== Expected ====================
E           x, y, z, +1
E           -x+3/4, -y+3/4, z, +1
E           -x, -y, -z, +1
E           x+1/4, y+1/4, -z, +1
E           x, -y+3/4, -z+3/4, -1
E           -x+3/4, y, -z+3/4, -1
E           -x, y+1/4, z+1/4, -1
E           x+1/4, -y, z+1/4, -1
E           x, y+1/2, z+1/2, +1
E           -x+3/4, -y+5/4, z+1/2, +1
E           -x, -y+1/2, -z+1/2, +1
E           x+1/4, y+3/4, -z+1/2, +1
E           x, -y+5/4, -z+5/4, -1
E           -x+3/4, y+1/2, -z+5/4, -1
E           -x, y+3/4, z+3/4, -1
E           x+1/4, -y+1/2, z+3/4, -1
E           x+1/2, y, z+1/2, +1
E           -x+5/4, -y+3/4, z+1/2, +1
E           -x+1/2, -y, -z+1/2, +1
E           x+3/4, y+1/4, -z+1/2, +1
E           x+1/2, -y+3/4, -z+5/4, -1
E           -x+5/4, y, -z+5/4, -1
E           -x+1/2, y+1/4, z+3/4, -1
E           x+3/4, -y, z+3/4, -1
E           x+1/2, y+1/2, z, +1
E           -x+5/4, -y+5/4, z, +1
E           -x+1/2, -y+1/2, -z, +1
E           x+3/4, y+3/4, -z, +1
E           x+1/2, -y+5/4, -z+3/4, -1
E           -x+5/4, y+1/2, -z+3/4, -1
E           -x+1/2, y+3/4, z+1/4, -1
E           x+3/4, -y+1/2, z+1/4, -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant