remaning to_xx
This commit is contained in:
parent
cdf3323774
commit
e2cd3da295
|
@ -106,7 +106,7 @@ class TestOrientation:
|
||||||
coords = np.array([(1,i+1) for i,x in enumerate(eu)])
|
coords = np.array([(1,i+1) for i,x in enumerate(eu)])
|
||||||
table = Table(eu,{'Eulers':(3,)})
|
table = Table(eu,{'Eulers':(3,)})
|
||||||
table = table.add('pos',coords)
|
table = table.add('pos',coords)
|
||||||
table.to_ASCII(reference)
|
table.write(reference)
|
||||||
assert np.allclose(eu,Table.load_ASCII(reference).get('Eulers'))
|
assert np.allclose(eu,Table.load_ASCII(reference).get('Eulers'))
|
||||||
|
|
||||||
@pytest.mark.parametrize('lattice',Lattice.lattices)
|
@pytest.mark.parametrize('lattice',Lattice.lattices)
|
||||||
|
|
Loading…
Reference in New Issue