parent
b5f71d2328
commit
c350009479
|
@ -328,7 +328,7 @@ class TestOrientation:
|
||||||
**dict(zip(['a','b','c'],lengths)),
|
**dict(zip(['a','b','c'],lengths)),
|
||||||
**dict(zip(['alpha','beta','gamma'],np.arccos(cosines))),
|
**dict(zip(['alpha','beta','gamma'],np.arccos(cosines))),
|
||||||
)
|
)
|
||||||
assert np.allclose(o.to_frame(uvw=np.eye(3)),basis), 'Lattice basis disagrees with initialization'
|
assert np.allclose(o.to_frame(uvw=np.eye(3)),basis,rtol=1e-4), 'Lattice basis disagrees with initialization'
|
||||||
|
|
||||||
@pytest.mark.parametrize('lattice,a,b,c,alpha,beta,gamma',
|
@pytest.mark.parametrize('lattice,a,b,c,alpha,beta,gamma',
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue