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 SelectorTmp::getAtomCount() w/ selection name #323

Closed speleo3 closed 11 months ago

speleo3 commented 11 months ago

Fall back to SelectorCountAtoms() if m_count == 0, which is the case for named selections.

Fixes https://github.com/schrodinger/pymol-open-source/issues/322

speleo3 commented 11 months ago

Thanks @TstewDev for merging!

TstewDev commented 11 months ago

@speleo3 Thank you for requesting! Always happy to accept you lending your expertise.