aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/db')
-rw-r--r--gn3/db/correlations.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/gn3/db/correlations.py b/gn3/db/correlations.py
index 07eaa56..ba61bb0 100644
--- a/gn3/db/correlations.py
+++ b/gn3/db/correlations.py
@@ -502,7 +502,11 @@ def __build_query__(
for item in sample_ids)
if method.lower() == "sgo literature correlation":
return build_query_sgo_lit_corr(
- sample_ids, temp_table, sample_id_columns, joins)
+ sample_ids, # type: ignore
+ temp_table,
+ sample_id_columns,
+ joins # type: ignore
+ )
if method.lower() in (
"tissue correlation, pearson's r",
"tissue correlation, spearman's rho"):
@@ -580,4 +584,4 @@ def fetch_all_database_data(# pylint: disable=[R0913, R0914]
with conn.cursor() as cursor:
cursor.execute(f"DROP TEMPORARY TABLE {temp_table}")
- return (trait_database[0], trait_database[1])
+ return (trait_database[0], trait_database[1]) # type: ignore