diff options
| author | Alexander_Kabui | 2025-02-07 13:49:54 +0300 |
|---|---|---|
| committer | Alexander_Kabui | 2025-02-07 13:49:54 +0300 |
| commit | 766963ea39c2dacb8d3e7226a52d82ce4e16e7e9 (patch) | |
| tree | 32d27bea79ea9fbdb82c5a9d3d0a9b93d0fc3e73 | |
| parent | 2177766bd1b48257caa3adb8fa4250f6eabb0e4f (diff) | |
| download | genenetwork3-766963ea39c2dacb8d3e7226a52d82ce4e16e7e9.tar.gz | |
fix: fix for fetching significance results.
| -rw-r--r-- | gn3/computations/rqtl2.py | 4 |
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, |
