schrodinger / pymol-open-source

Open-source foundation of the user-sponsored PyMOL molecular visualization system.
https://pymol.org/
Other
1.2k stars 281 forks source link

guide selector bug #198

Closed speleo3 closed 3 years ago

speleo3 commented 3 years ago
cmd.fragment("ala")
assert cmd.count_atoms("organic") == 0
assert cmd.count_atoms("guide") == 1
assert cmd.count_atoms("organic | guide") == 1

The last assertion fails, count_atoms returns 0.

Reproduced on Linux with PyMOL 2.5.2 and PyMOL 1.2