From 1f5bf3a363f5ee3f301cdceeba31b35d75e46834 Mon Sep 17 00:00:00 2001 From: Coos Baakman Date: Tue, 12 Dec 2023 14:56:32 +0100 Subject: [PATCH] check that the atom position has the right dimension --- test/operate/test_pdb.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/operate/test_pdb.py b/test/operate/test_pdb.py index 6ecd413..253514a 100644 --- a/test/operate/test_pdb.py +++ b/test/operate/test_pdb.py @@ -80,6 +80,9 @@ def test_nmr(): atoms = get_atoms(pdb) ok_(len(atoms) > 0) + + ok_(atoms[0].position.shape == (3,)) + finally: pdb._close()