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

15 lines
360 B
Python

'''
negative b-factor in MAE file.
'''
from pymol import cmd, testing, stored
@testing.requires('incentive')
class Test1514(testing.PyMOLTestCase):
def test(self):
cmd.load("PYMOL-1514.mae")
b_list = []
cmd.iterate("all", "b_list.append(b)", space=locals())
self.assertArrayEqual(b_list, [-1.0, -1.0, -2.3, 2.86], 0.001)