aboutsummaryrefslogtreecommitdiff
path: root/qc_app
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-11-15 09:09:34 +0300
committerFrederick Muriuki Muriithi2023-11-15 09:09:34 +0300
commitebf61247a66a2ad9d8df5bfbd768855beddce9da (patch)
tree262205523882ebe5678d81e4f627c6745b45ad0a /qc_app
parent8191ef600eb54d83b88c4d5cd2f46c6caf568e5e (diff)
downloadgn-uploader-ebf61247a66a2ad9d8df5bfbd768855beddce9da.tar.gz
Provide default `AuthorisedUsers` value.
Diffstat (limited to 'qc_app')
-rw-r--r--qc_app/dbinsert.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qc_app/dbinsert.py b/qc_app/dbinsert.py
index df9a9fd..4711262 100644
--- a/qc_app/dbinsert.py
+++ b/qc_app/dbinsert.py
@@ -291,14 +291,14 @@ def create_dataset():
form["datasetfullname"], form["datasetshortname"],
datetime.now().date().strftime("%Y-%m-%d"),
form["datasetpublic"], form["datasetconfidentiality"],
- form["datasetdatascale"])
+ "williamslab", form["datasetdatascale"])
query = (
"INSERT INTO ProbeSetFreeze("
"Id, ProbeFreezeId, AvgID, Name, Name2, FullName, "
"ShortName, CreateTime, OrderList, public, "
"confidentiality, AuthorisedUsers, DataScale) "
"VALUES"
- "(%s, %s, %s, %s, %s, %s, %s, %s, NULL, %s, %s, NULL, %s)")
+ "(%s, %s, %s, %s, %s, %s, %s, %s, NULL, %s, %s, %s, %s)")
cursor.execute(query, values)
return render_template(
"continue_from_create_dataset.html",