Hello,
I wonder if there is a quick and simple way of detecting whether a selection
exists without triggering any errors. e.g. to check if there are currently any
atoms picked (and collect the residue IDs if there is any), I do:
cmd.iterate((lb),stored.list.append((resi)))
if no atoms were
:50 AM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] detecting the existence of a selection
Hello,
I wonder if there is a quick and simple way of detecting whether a
selection
exists without triggering any errors. e.g. to check if there are
currently
any
atoms picked (and collect