From d09db2d2b66050660695a1dad9f63f8eabc37371 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 3 Jun 2025 07:03:06 -0500 Subject: Debug the query: useful to figure out what's happening. --- uploader/phenotypes/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'uploader/phenotypes/models.py') diff --git a/uploader/phenotypes/models.py b/uploader/phenotypes/models.py index 7861427..a70c8e4 100644 --- a/uploader/phenotypes/models.py +++ b/uploader/phenotypes/models.py @@ -349,6 +349,7 @@ def save_phenotypes_data( "VALUES " f"(%(data_id)s, %(sample_id)s, %({_table_details['valueCol']})s) "), tuple(batch)) + debug_query(cursor, logger) _count = _count + len(batch) -- cgit v1.2.3