about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-05-30 13:34:01 -0500
committerFrederick Muriuki Muriithi2025-05-30 13:34:01 -0500
commit99f3724fa5ed573fc883cc15cf5e1ae8139786b0 (patch)
treeeb193fe557826fdc300f025807200d24e8ed90a2
parentf2b07d7351cc377c904f5ba9654ed85165ff8962 (diff)
downloadgn-uploader-99f3724fa5ed573fc883cc15cf5e1ae8139786b0.tar.gz
Fix typo: Fix table name.
-rw-r--r--uploader/phenotypes/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/phenotypes/models.py b/uploader/phenotypes/models.py
index 498a48b..2843d06 100644
--- a/uploader/phenotypes/models.py
+++ b/uploader/phenotypes/models.py
@@ -302,7 +302,7 @@ def create_new_phenotypes(conn: mdb.Connection,
 
             cursor.executemany(
                 ("INSERT INTO "
-                 "Phenotypes(Pre_publication_description, Original_description, Units, Authorized_Users) "
+                 "Phenotype(Pre_publication_description, Original_description, Units, Authorized_Users) "
                  "VALUES (%(id)s, %(description)s, %(units)s, 'robwilliams') "
                  "RETURNING *"),
                 tuple(batch))