aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-09-09 21:50:38 +0000
committerzsloan2022-09-09 21:50:38 +0000
commitcb36331a6fde5496af3c4b07c88f46326cb4ac00 (patch)
tree21b613dcd2fc25e45c3ca6ed8c1208e139f8e9c1 /wqflask
parentf2048ed7d3b7143869cebe228dec93b2f6fd3843 (diff)
downloadgenenetwork2-cb36331a6fde5496af3c4b07c88f46326cb4ac00.tar.gz
Fix bug in display_mapping_results chromosome query
A tuple of chromosome names was being passed into the query as a single argument, while it expected a separate argument for each chromosome
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index 7f399597..1d59c694 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -466,7 +466,7 @@ class DisplayMappingResults:
f"({', '.join(['%s' for x in self.ChrList[1:]])}) "
"ORDER BY Chr_Length.OrderId",
(self.dataset.group.name,
- [x[0] for x in self.ChrList[1:]],))
+ *[x[0] for x in self.ChrList[1:]],))
self.ChrLengthMbList = cursor.fetchall()
self.ChrLengthMbList = [x[0] / 1000000.0 for x in self.ChrLengthMbList]