about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn3/computations/rqtl2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/rqtl2.py b/gn3/computations/rqtl2.py
index a06c929..b482c47 100644
--- a/gn3/computations/rqtl2.py
+++ b/gn3/computations/rqtl2.py
@@ -136,7 +136,7 @@ def process_permutation(data):
     with open(perm_file, "r", encoding="utf-8") as file_handler:
         reader = csv.reader(file_handler)
         phenotypes = next(reader)[1:]
-        perm_results = {_id:float(val) for (_id,val)  in reader}
+        perm_results = {_id: float(val) for _id, val, *_ in reader}
         _, significance = fetch_significance_results(data.get("significance_file"))
         return {
         "phenotypes": phenotypes,