aboutsummaryrefslogtreecommitdiff
path: root/qc_app/samples.py
AgeCommit message (Collapse)Author
2023-12-14samples: Create external script and fix some bugs.Frederick Muriuki Muriithi
2023-12-14Pass connection to `species_by_id` function.Frederick Muriuki Muriithi
To make `species_by_id` function reusable even outside of the application context, pass in the database connection instead of creating the connection inside the function.
2023-12-11samples: Fix bugs in code saving samples to dbFrederick Muriuki Muriithi
* Check whether first row in file is for headings * Break infinite loop: check batch has content * Update saving of uploaded files
2023-12-07Samples: Read an save data to db.Frederick Muriuki Muriithi
2023-12-06Feature: Upload Samples/CasesFrederick Muriuki Muriithi
Implements the code enabling the upload of the samples/cases to the database.