Files
PlantAI-dev/tools/pymol-open-source/testing/tests/jira/PYMOL-1293.py
T
2026-08-03 18:42:47 +08:00

17 lines
460 B
Python

from pymol import cmd, CmdException, testing, stored
class TestPYMOL1293(testing.PyMOLTestCase):
def test(self):
cmd.pseudoatom('m1')
cmd.mset('1x1')
cmd.create('m2', 'm1')
cmd.ray()
v = cmd.get_object_matrix('m2')
self.assertArrayEqual(v, [
1., 0., 0., 0.,
0., 1., 0., 0.,
0., 0., 1., 0.,
0., 0., 0., 1.,
], 0.001, 'object matrix not identity')