diff options
author | zsloan | 2022-09-09 21:50:38 +0000 |
---|---|---|
committer | zsloan | 2022-09-09 21:50:38 +0000 |
commit | cb36331a6fde5496af3c4b07c88f46326cb4ac00 (patch) | |
tree | 21b613dcd2fc25e45c3ca6ed8c1208e139f8e9c1 /wqflask | |
parent | f2048ed7d3b7143869cebe228dec93b2f6fd3843 (diff) | |
download | genenetwork2-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.py | 2 |
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] |