diff options
author | Frederick Muriuki Muriithi | 2025-06-03 07:03:06 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-06-03 07:29:31 -0500 |
commit | d09db2d2b66050660695a1dad9f63f8eabc37371 (patch) | |
tree | 5f713bb30473a0b1c6db84fe0c4e6a2a50dd89d8 | |
parent | 70de586b590e824d7bcc3777830fda323a0e7983 (diff) | |
download | gn-uploader-d09db2d2b66050660695a1dad9f63f8eabc37371.tar.gz |
Debug the query: useful to figure out what's happening.
-rw-r--r-- | uploader/phenotypes/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |