File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ def test_cubic(self):
110110 b1 = [1 , 0 , 0 ]
111111 b2 = [0 , 1 , 0 ]
112112 b3 = [0 , 0 , 1 ]
113- bz = brillouinzone .get_BZ (b1 = b1 , b2 = b2 , b3 = b3 )
113+ bz = brillouinzone .BZ (b1 = b1 , b2 = b2 , b3 = b3 )
114114
115115 expected_faces = [
116116 [
@@ -162,7 +162,7 @@ def test_cubic(self):
162162
163163 # The definition of triangles is not unique. I check directly the
164164 # faces (that should be obtained from the triangles
165- faces = bz [ ' faces' ]
165+ faces = bz . faces
166166
167167 # theFaces = [Face(f) for f in faces]
168168 # theExpectedFaces = [Face(f) for f in expected_faces]
@@ -177,7 +177,7 @@ def test_2(self):
177177 b1 = [1 , 0 , 0 ]
178178 b2 = [0 , 1 , 0 ]
179179 b3 = [0.2 , 0.2 , 1 ]
180- bz = brillouinzone .get_BZ (b1 = b1 , b2 = b2 , b3 = b3 )
180+ bz = brillouinzone .BZ (b1 = b1 , b2 = b2 , b3 = b3 )
181181
182182 expected_faces = [
183183 [
@@ -264,7 +264,7 @@ def test_2(self):
264264
265265 # The definition of triangles is not unique. I check directly the
266266 # faces (that should be obtained from the triangles
267- faces = bz [ ' faces' ]
267+ faces = bz . faces
268268
269269 # To print the actual output
270270 # print "["
You can’t perform that action at this time.
0 commit comments