neurobooth_terra.dataflow.write_file

neurobooth_terra.dataflow.write_file(sensor_file_table, db_table, fname, id=0)[source]

Write a file.

Parameters
sensor_file_tableinstance of Table

The table containing information about the sensors used in a session and the files.

db_tableinstance of Table

The table containing information about the file transfers.

fnamestr

The filename to write.

idint

The row number of sensor_file_table to be used as primary key.