Dear pymol users,
When I click in an atom (mouse->selection mode->atoms) I get the
/chain_name/residue_name/atom_name info string. Is there a way to output
the atom serial or atom index?
My molecule has atoms with duplicate names within the same residue, so the
info string chain_name/residue_name/
Hej Jose,
This script may do what you need. The core is to use iterate over the
different identifiers. I'm not sure if there's a more convenient way,
though.
python
def get_macro_name(sele):
'''
will return t
-- Forwarded message --
From: "Andreas Warnecke" <4ndreas.warne...@gmail.com>
Date: Jul 14, 2014 1:03 AM
Subject: Re: [PyMOL] How to show atom index or atom serial when clicking on
an atom?
To: "Jose Borreguero"
Cc:
minor amendment, changin the iterate line to:
cmd.iterate(sele,