Skip to content
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions testsuite/MDAnalysisTests/coordinates/test_dms.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,10 @@ def test_frame_index_0(self, universe):
def test_frame_index_1_raises_IndexError(self, universe):
with pytest.raises(IndexError):
universe.trajectory[1]

def test_convert_pos_from_native(self):
u = mda.Universe(DMS, convert_units=True)

coords = u.atoms.positions

assert coords.shape[0] == len(u.atoms)
Loading