You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The types of biom attributes are checked in the setter functions. TypeErrors are thrown if there is a mismatch. As the constructor uses the setters types are also checked in the constructor. But there are other possible inconsistencies that are not yet checked:
keep shape correct by calculating dynamically (read only)
keep matrix_type correct by updating data on set
all elements of rows and columns are objects containing (unique) id and metadata
keep data correct by updating when rows or columns are set
keep data correct by throwing an Error if it is set incorrectly
format_url is really an url and not only a string
date is really date time in ISO 8601 format
The text was updated successfully, but these errors were encountered:
There are relationships between rows, columns, shape, data, matrix_type and matrix_element_type (and nnz). So updating one via a setter should either update the others or fail if the change is incompatible. Initialization is a special case because many values are set simultaneously so order of setting is important if there are incompatibilities.
The types of biom attributes are checked in the setter functions. TypeErrors are thrown if there is a mismatch. As the constructor uses the setters types are also checked in the constructor. But there are other possible inconsistencies that are not yet checked:
shape
correct by calculating dynamically (read only)matrix_type
correct by updatingdata
on setrows
andcolumns
are objects containing (unique)id
andmetadata
data
correct by updating whenrows
orcolumns
are setdata
correct by throwing an Error if it is set incorrectlyformat_url
is really an url and not only a stringdate
is really date time in ISO 8601 formatThe text was updated successfully, but these errors were encountered: