aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-09-17 11:20:16 +0300
committerFrederick Muriuki Muriithi2021-09-17 11:20:16 +0300
commit1e2357049adc72808fbf8eaac3da9411d3c78c66 (patch)
tree778d22e2f021fddf6dfbd4abc9ec312c4043f22d /gn3/computations
parent8ac3194f06084dfe5d0cfb141f178d83d937fcc3 (diff)
downloadgenenetwork3-1e2357049adc72808fbf8eaac3da9411d3c78c66.tar.gz
Fix a number of linting issues
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/qtlreaper.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/gn3/computations/qtlreaper.py b/gn3/computations/qtlreaper.py
index 5180853..377db9b 100644
--- a/gn3/computations/qtlreaper.py
+++ b/gn3/computations/qtlreaper.py
@@ -110,9 +110,10 @@ def organise_reaper_main_results(parsed_results):
unique_chromosomes = {item["Chr"] for item in id_items}
return {
"ID": identifier,
- "chromosomes": {_chr["Chr"]: _chr for _chr in [
- __organise_by_chromosome(chromo, id_items)
- for chromo in sorted(
+ "chromosomes": {
+ _chr["Chr"]: _chr for _chr in [
+ __organise_by_chromosome(chromo, id_items)
+ for chromo in sorted(
unique_chromosomes, key=chromosome_sorter_key_fn)]}}
unique_ids = {res["ID"] for res in parsed_results}