aboutsummaryrefslogtreecommitdiff
path: root/qc_app
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-10-16 13:43:12 +0300
committerFrederick Muriuki Muriithi2023-10-16 13:43:12 +0300
commit0d5dc5489837957e3fab513b9dcc550eddfe53ca (patch)
tree34d676904421ef0d901647dbcd261b6d97a63aed /qc_app
parentee7fbec479b1410b366fe0b61221c001673ab44e (diff)
downloadgn-uploader-0d5dc5489837957e3fab513b9dcc550eddfe53ca.tar.gz
Link study to ProbeSetFreeze table.
Diffstat (limited to 'qc_app')
-rw-r--r--qc_app/dbinsert.py2
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"),