aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorAlexander_Kabui2022-07-21 23:43:03 +0300
committerBonfaceKilz2022-07-22 14:52:08 +0300
commitd05cf3636239456a0e258c6771f6282954acaa69 (patch)
tree0ab42f008a28cc73fd33c5c98e729b9f477a1b2f /gn3
parent8a989237b0099467bab9875e250f07085ba48a07 (diff)
downloadgenenetwork3-d05cf3636239456a0e258c6771f6282954acaa69.tar.gz
linting and tests fixes
Diffstat (limited to 'gn3')
-rw-r--r--gn3/computations/rust_correlation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py
index 086db3b..a8dc256 100644
--- a/gn3/computations/rust_correlation.py
+++ b/gn3/computations/rust_correlation.py
@@ -89,7 +89,8 @@ def parse_correlation_output(result_file: str, top_n: int = 500) -> list[dict]:
lines = [next(file_reader) for x in range(top_n)]
for line in lines:
- (trait_name, corr_coeff, p_val, num_overlap) = line.rstrip().split(",")
+ (trait_name, corr_coeff,
+ p_val, num_overlap) = line.rstrip().split(",")
corr_data = {
"num_overlap": num_overlap,
"corr_coefficient": corr_coeff,