SamplesheetItem
has two fields:
data
– the actual row data. For example, row.data.sample_name
will give you the value from the sample_name column.record
– the Registry Record object for that row.
record
will be populated with the corresponding Record.record
will be None
.Table
can be modified by using the Table.update()
function. Table.update()
returns a context manager (and hence must be called using with
syntax) with an upsert_record
method. Visit the Table Object page for the API reference.
get_table_id()
on the Record
object.Table
object by calling Table(id=table_id)
.Table.update()
to get a context manager with an upsert_record
method.