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

Fix guide selector bug #199

Closed speleo3 closed 3 years ago

speleo3 commented 3 years ago

The underlying issue could be the negative value of base[0].sele[a] or the signed/unsigned mismatch of base[0].sele[a] and AtomInfoType.flags (less likely, but I don't know...).

Casting to a bool fixes this particular issue.

Closes https://github.com/schrodinger/pymol-open-source/issues/198

JarrettSJohnson commented 3 years ago

Thanks for the PR, Thomas. I'm going to open up an internal ticket to investigate this further.

speleo3 commented 3 years ago

That was quick, thanks Jarrett!