diff options
author | Frederick Muriuki Muriithi | 2023-10-16 13:43:12 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-10-16 13:43:12 +0300 |
commit | 0d5dc5489837957e3fab513b9dcc550eddfe53ca (patch) | |
tree | 34d676904421ef0d901647dbcd261b6d97a63aed /qc_app | |
parent | ee7fbec479b1410b366fe0b61221c001673ab44e (diff) | |
download | gn-uploader-0d5dc5489837957e3fab513b9dcc550eddfe53ca.tar.gz |
Link study to ProbeSetFreeze table.
Diffstat (limited to 'qc_app')
-rw-r--r-- | qc_app/dbinsert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qc_app/dbinsert.py b/qc_app/dbinsert.py index 589ac75..32043a7 100644 --- a/qc_app/dbinsert.py +++ b/qc_app/dbinsert.py @@ -281,7 +281,7 @@ def create_dataset(): cursor.execute("SELECT MAX(Id) AS last_id FROM ProbeSetFreeze") new_datasetid = cursor.fetchone()["last_id"] + 1 values = ( - new_datasetid, new_datasetid, form["avgid"], + new_datasetid, form["studyid"], form["avgid"], form.get("datasetname",""), form["datasetname2"], form["datasetfullname"], form["datasetshortname"], datetime.now().date().strftime("%Y-%m-%d"), |