
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 -- Darren L. Weber, Ph.D. Programmer/Analyst Resource for Biocomputing, Visualization, and Informatics University of California, San Francisco N453 Genentech Hall, Mission Bay Campus 600 16th Street, M/S 2240 San Francisco, CA 94158-2517 Tel: +1 415 847-3127 www: http://psdlw.users.sf.net/

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
participants (2)
-
Darren Weber
-
Greg Couch