Home | Trees | Indices | Help |
|
---|
|
object --+ | list --+ | mmCIFTable
Contains columns and rows of data for a mmCIF section. Rows of data are stored as mmCIFRow classes.
|
|||
new empty list |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
columns | |||
columns_lower | |||
data | |||
name | |||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
x==y
|
Retrieves mmCIFRow at index x from the table if the argument is an integer. If the argument is a string, then the data from the first row is returned.
|
x[i]=y
|
del x[y]
|
append object to end
|
insert object before index
|
remove first occurrence of value. Raises ValueError if the value is not present.
|
Preforms a SQL-like 'AND' select aginst all the rows in the table, and returns the first matching row found. The arguments are a variable list of tuples of the form: (<lower-case-column-name>, <column-value>) For example: get_row(('atom_id','CA'),('entity_id', '1')) returns the first matching row with atom_id==1 and entity_id==1. |
Return a dictionary mapping the value of the row's value in column 'key' to the row itself. If there are multiple rows with the same key value, they will be overwritten with the last found row. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jun 27 14:43:16 2011 | http://epydoc.sourceforge.net |