aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/db')
-rw-r--r--gn3/db/traits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/traits.py b/gn3/db/traits.py
index b201f1f..e80f41b 100644
--- a/gn3/db/traits.py
+++ b/gn3/db/traits.py
@@ -270,7 +270,7 @@ def insert_sample_data(conn: Any, #pylint: disable=[R0913]
# Insert into the NStrain table
if count and count != "x":
cursor.execute(("INSERT INTO NStrain "
- "(StrainId, DataId, error) "
+ "(StrainId, DataId, count) "
"VALUES (%s, %s, %s)") %
(strain_id, data_id, count))
inserted_n_strains = cursor.rowcount