aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/traits.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-01-12 11:19:33 +0300
committerFrederick Muriuki Muriithi2022-01-12 11:19:33 +0300
commite6339bea5f22a6b331979f15a78d94c2c61c285a (patch)
treee12e1ee6530d3894839840e1d353472126f5af18 /gn3/db/traits.py
parent394a785da393ad659d198526f7c27a2191e90e9e (diff)
downloadgenenetwork3-e6339bea5f22a6b331979f15a78d94c2c61c285a.tar.gz
Indent code correctly
Indent the code correctly.
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