Skip to content

Commit

Permalink
Fix surface_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Franz Waibl committed Feb 5, 2025
1 parent bef08cb commit dba10b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/surface_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def test_repr_no_error(minimal):
repr(minimal)

def test_convert_to_ply(minimal):
plydat = minimal.as_plydata(units_per_angstrom=1.)
plydat = minimal.as_plydata(units_per_nm=1.)
assert len(plydat['vertex']) == minimal.n_vertices
for i_dim, dim in enumerate('xyz'):
assert np.allclose(plydat['vertex'][dim], minimal.vertices[:, i_dim])
Expand Down

0 comments on commit dba10b0

Please sign in to comment.