aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qc_app/db/datasets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qc_app/db/datasets.py b/qc_app/db/datasets.py
index bf5ac25..767ec41 100644
--- a/qc_app/db/datasets.py
+++ b/qc_app/db/datasets.py
@@ -83,8 +83,8 @@ def probeset_create_study(conn: mdb.Connection,#pylint: disable=[too-many-argume
""",
studydata)
studyid = cursor.lastrowid
- cursor.execute("UPDATE ProbeFreeze SET ProbeFreezeId=%s",
- (studyid,))
+ cursor.execute("UPDATE ProbeFreeze SET ProbeFreezeId=%s WHERE Id=%s",
+ (studyid, studyid))
return {**studydata, "studyid": studyid}
def probeset_create_dataset(conn: mdb.Connection,#pylint: disable=[too-many-arguments]