about summary refs log tree commit diff
path: root/gn3/computations
diff options
context:
space:
mode:
authorAlexander_Kabui2025-02-07 13:49:54 +0300
committerAlexander_Kabui2025-02-07 13:49:54 +0300
commit766963ea39c2dacb8d3e7226a52d82ce4e16e7e9 (patch)
tree32d27bea79ea9fbdb82c5a9d3d0a9b93d0fc3e73 /gn3/computations
parent2177766bd1b48257caa3adb8fa4250f6eabb0e4f (diff)
downloadgenenetwork3-766963ea39c2dacb8d3e7226a52d82ce4e16e7e9.tar.gz
fix: fix for fetching significance results.
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/rqtl2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/computations/rqtl2.py b/gn3/computations/rqtl2.py
index 02dc621..9b27b0a 100644
--- a/gn3/computations/rqtl2.py
+++ b/gn3/computations/rqtl2.py
@@ -167,10 +167,10 @@ def fetch_significance_results(file_path: str):
         reader = csv.reader(file_handler)
         results = {}
         phenotypes = next(reader)[1:]
-        for line in enumerate(reader):
+        for line in reader:
             threshold, significance = line[0], line[1:]
             results[threshold] = significance
-        return (phenotypes, significance)
+        return (phenotypes, results)
 
 
 def process_scan_results(qtl_file_path: str,