[chimera-dev] chimera.openModels.listids()
Greg Couch
gregc at cgl.ucsf.edu
Thu Dec 9 10:33:00 PST 2010
On 12/08/2010 04:07 PM, Darren Weber wrote:
> From 'help(chimera.openModels):
>
> | listIds(...)
> | listIds(hidden: bool = false, all: bool = false) -> list of
> tuple(int, int)
>
>
> Why does it return a tuple of two ints for each element? Could you
> answer this by enhancing the help documentation on that method?
>
> Thanks,
> Darren
As shown in the Model Panel, all models have a numerical ID number and
submodel number
(http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/modelpanel.html). The
first int in the tuple is the ID number and the second int is the
submodel number.
As for enhancing the help documentation, since this method is a wrapped
C++ method, it's dependent on improving our Python wrapper generator and
that is currently a low priority item.
- Greg
More information about the Chimera-dev
mailing list