aboutsummaryrefslogtreecommitdiff
path: root/qc_app/db
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/db')
-rw-r--r--qc_app/db/datasets.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/qc_app/db/datasets.py b/qc_app/db/datasets.py
index b56dcf5..bf5ac25 100644
--- a/qc_app/db/datasets.py
+++ b/qc_app/db/datasets.py
@@ -106,16 +106,18 @@ def probeset_create_dataset(conn: mdb.Connection,#pylint: disable=[too-many-argu
"sname": datasetshortname,
"today": date.today().isoformat(),
"public": 2 if public else 0,
+ "authorisedusers": "williamslab",
"datascale": datascale
}
cursor.execute(
"""
INSERT INTO ProbeSetFreeze(
ProbeFreezeId, AvgId, Name, Name2, FullName, ShortName,
- CreateTime, public, DataScale)
+ CreateTime, public, AuthorisedUsers, DataScale)
VALUES(
%(studyid)s, %(averageid)s, %(name)s, %(name2)s, %(fname)s,
- %(sname)s, %(today)s, %(public)s, %(datascale)s)
+ %(sname)s, %(today)s, %(public)s, %(authorisedusers)s,
+ %(datascale)s)
""",
dataset)
return {**dataset, "datasetid": cursor.lastrowid}