aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-05-06 23:14:22 +0000
committerzsloan2021-05-06 23:14:22 +0000
commitcec8c8870f12a52ac20ffcc2f4a8a05003a13a9f (patch)
treebfd200e408f4e41da437e6a2c99edc004f37cbfc
parent9ed3c226c561d80957e34294f884fe48373cf6e6 (diff)
downloadgenenetwork2-cec8c8870f12a52ac20ffcc2f4a8a05003a13a9f.tar.gz
Used a list comprehension for perm_vals as mentioned in Bonface's comment
-rw-r--r--wqflask/wqflask/marker_regression/rqtl_mapping.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wqflask/wqflask/marker_regression/rqtl_mapping.py b/wqflask/wqflask/marker_regression/rqtl_mapping.py
index 072e4530..06eceada 100644
--- a/wqflask/wqflask/marker_regression/rqtl_mapping.py
+++ b/wqflask/wqflask/marker_regression/rqtl_mapping.py
@@ -431,9 +431,7 @@ def process_pair_scan_results(result):
def process_rqtl_perm_results(num_perm, results):
- perm_vals = []
- for item in results:
- perm_vals.append(item[0])
+ perm_vals = item[0] for item in results
perm_output = perm_vals
suggestive = np.percentile(np.array(perm_vals), 67)