Package csb :: Package bio :: Package structure :: Class EnsembleModelsCollection |
[frames] | no frames]

# Class EnsembleModelsCollection

source code

                  object --+
                           |
        core.AbstractIndexer --+
                               |
    core.BaseCollectionContainer --+
                                   |
            core.CollectionContainer --+
                                       |
                                      EnsembleModelsCollection

Instance Methods
__init__(self) x.__init__(...) initializes x; see help(type(x)) for signature | source code
int |
append(self, structure) Add a new model | source code
Inherited from `core.BaseCollectionContainer`: `__bool__`, `__contains__`, `__getitem__`, `__iter__`, `__len__`, `__nonzero__`, `__repr__` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties
Inherited from `core.BaseCollectionContainer`: `last_index`, `length`, `start_index` Inherited from `object`: `__class__`

Method Details

### __init__(self) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Parameters: `items` - initialization list `type` - if defined, makes the container type-safe `start_index` - the index of the zero element Overrides: object.__init__ (inherited documentation)

### append(self, structure) | source code
Add a new model Parameters: `structure` (Structure) - model to append Returns: int the index of the new element Raises: `TypeError` - when the container is type-safe and item has an incorrect type Overrides: core.CollectionContainer.append