about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-05-30 13:30:19 -0500
committerFrederick Muriuki Muriithi2025-05-30 13:30:19 -0500
commitae8fa1ba7773672a739d7d2f4888f52901f19bde (patch)
tree6a946aa6080ba61b5cf92dea29f7da14b3854f9c
parentf8602d8e656072a280bfb1b5d4839de44a682045 (diff)
downloadgn-uploader-ae8fa1ba7773672a739d7d2f4888f52901f19bde.tar.gz
Fix indentation.
-rw-r--r--uploader/phenotypes/models.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/uploader/phenotypes/models.py b/uploader/phenotypes/models.py
index 4454ba3..3ec17e7 100644
--- a/uploader/phenotypes/models.py
+++ b/uploader/phenotypes/models.py
@@ -327,11 +327,11 @@ def save_phenotypes_data(
     with conn.cursor(cursorclass=DictCursor) as cursor:
         for batch in take(data, 5000):
             cursor.executemany(
-            (f"INSERT INTO {_table_details['table']}"
-             f"(Id, StrainId, {_table_details['valueCol']}) "
-             "VALUES "
-             f"(%(data_id)s, %(sample_id)s, %({_table_details['valueCol']})s) "
-             "RETURNING *"),
+                (f"INSERT INTO {_table_details['table']}"
+                 f"(Id, StrainId, {_table_details['valueCol']}) "
+                 "VALUES "
+                 f"(%(data_id)s, %(sample_id)s, %({_table_details['valueCol']})s) "
+                 "RETURNING *"),
                 tuple(batch))
             _data = data + tuple(cursor.fetchall())