Skip to content

Commit

Permalink
more formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtran415 committed May 3, 2021
1 parent 853ec6e commit 10d2e00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pymatgen/core/surface.py
Expand Up @@ -316,7 +316,7 @@ def is_symmetric(self, symprec=0.1):
if (
sg.is_laue()
or any(op.translation_vector[2] != 0 for op in symmops)
or any(np.alltrue(op.rotation_matrix[2] == np.array([0,0,-1])) for op in symmops)
or any(np.alltrue(op.rotation_matrix[2] == np.array([0, 0, -1])) for op in symmops)
):
# Check for inversion symmetry. Or if sites from surface (a) can be translated
# to surface (b) along the [hkl]-axis, surfaces are symmetric. Or because the
Expand Down
2 changes: 1 addition & 1 deletion pymatgen/core/tests/test_surface.py
Expand Up @@ -62,7 +62,7 @@ def setUp(self):
m = [[3.913449, 0, 0], [0, 3.913449, 0], [0, 0, 5.842644]]
latt = Lattice(m)
fcoords = [[0.5, 0, 0.222518], [0, 0.5, 0.777482], [0, 0, 0], [0, 0, 0.5], [0.5, 0.5, 0]]
non_laue = Structure(latt, ['Nb', 'Nb', 'N', 'N', 'N'], fcoords)
non_laue = Structure(latt, ["Nb", "Nb", "N", "N", "N"], fcoords)

self.ti = Ti
self.agfcc = Ag_fcc
Expand Down

0 comments on commit 10d2e00

Please sign in to comment.