Changes between Version 15 and Version 16 of ChimeraAnimationTasks


Ignore:
Timestamp:
Dec 21, 2010, 2:02:29 PM (15 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChimeraAnimationTasks

    v15 v16  
    1313 * [http://docs.python.org/ Python documentation] (http://docs.python.org/)
    1414 * [http://www.scipy.org/Numpy_Example_List_With_Doc Numpy examples] (http://www.scipy.org/Numpy_Example_List_With_Doc)
     15
     16== Chimera Molecular Data ==
     17
     18{{{
     19# a list of open models
     20models = chimera.openModels.list()
     21
     22# restrict list to Molecules
     23molecules = chimera.openModels.list(modelTypes=[chimera.Molecule])
     24
     25# a Molecule's residues, atoms, or bonds
     26if len(molecules):
     27  r = molecules[0].residues
     28  a = molecules[0].atoms
     29  b = molecules[0].bonds
     30}}}
     31
    1532
    1633