aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/traits.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/db/traits.py')
-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 9554be2..5985c3f 100644
--- a/gn3/db/traits.py
+++ b/gn3/db/traits.py
@@ -199,7 +199,7 @@ def delete_sample_data(conn: Any,
# Only run if the strain_id and data_id exist
if strain_id and data_id:
cursor.execute(("DELETE FROM PublishData "
- "WHERE StrainId = %s AND Id = %s")
+ "WHERE StrainId = %s AND Id = %s")
% (strain_id, data_id))
deleted_published_data = cursor.rowcount