In terms of cloud sync, this is conditional on a run being active or completed:
For a completed run, the local database should be downloaded in its entirety and QC results should be read from the sample_qc_results table.
For an active run, the local database should be ignored and QC results should be read from a single CSV file that is updated with each sample acquired.
In terms of cloud sync, this is conditional on a run being active or completed:
sample_qc_results
table.