diff options
author | zsloan | 2020-11-03 15:18:25 -0600 |
---|---|---|
committer | zsloan | 2020-11-03 15:18:25 -0600 |
commit | 5e08316b491a6225eddbc27cfdd799cff1bc0283 (patch) | |
tree | 878dae129bcf60e1d16465c39a365f658dc55702 /wqflask | |
parent | ad716823091959a5332173a0fd2a040c969d2712 (diff) | |
download | genenetwork2-5e08316b491a6225eddbc27cfdd799cff1bc0283.tar.gz |
Fixed a sort used when doing the haplotype analysis to be compatible with Python 3
* wqflask/wqflask/marker_regression/display_mapping_results.py - The arguments for sort are different in Python 3, so it was changed to be compatible
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 7e43f6bd..b5686b70 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -1460,7 +1460,7 @@ class DisplayMappingResults(object): else: continue - smd.sort(lambda A, B: cmp(A.value, B.value)) + smd.sort(key = lambda A: A.value) smd.reverse() samplelist = list(self.genotype.prgy) |