From 34aa1f04ded87af501bb34ecdd5937e082c010f6 Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 8 Feb 2022 08:00:08 +0300 Subject: db: traits: Insert "count" instead of "error" in "NStrain" table --- gn3/db/traits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3