Thanks for the quick reply. That works like a charm.
On May 8, 2015, at 12:37 PM, Thomas Holder
wrote:
> Hi Bernhard,
>
> "delete" strictly operates on object names, not on atom selections. This
> difference is unfortunately a common point of confusion.
>
> Here's a delete command which ope
Hi Bernhard,
"delete" strictly operates on object names, not on atom selections. This
difference is unfortunately a common point of confusion.
Here's a delete command which operates on a selection and therefore supports
the "not" operator:
python
@cmd.extend
def delete_by_sele(selection):
Hi all,
after an extensive pymol session, I ended up with a lot of intermediate objects
that I now want to delete so I will only keep my final object. Is there an easy
way to remove all but one object? I tried the delete command, but something like
delete (not obj_final)
did not work as expecte