aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-10-29 08:28:19 +0300
committerBonfaceKilz2021-11-04 12:45:57 +0300
commit9ceb958273b8d86d220fa0d2f040fcb4a8233586 (patch)
tree9cd6b8c60c3e937c4cc159487f76c9966c88db89 /gn3/computations
parent307a83b897b9ece7c9dd1af49bdedc9e1320eb61 (diff)
downloadgenenetwork3-9ceb958273b8d86d220fa0d2f040fcb4a8233586.tar.gz
Fix linting and typing errors
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/partial_correlations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/partial_correlations.py b/gn3/computations/partial_correlations.py
index 5777a0b..fce6ad2 100644
--- a/gn3/computations/partial_correlations.py
+++ b/gn3/computations/partial_correlations.py
@@ -173,6 +173,6 @@ def correlations_of_all_tissue_traits(
`web.webqtl.correlation.correlationFunction.calculateCorrOfAllTissueTrait`
function in GeneNetwork1.
"""
- primary_trait_values = primary_trait_symbol_value_dict.values()[0]
+ primary_trait_values = tuple(primary_trait_symbol_value_dict.values())[0]
return batch_computed_tissue_correlation(
primary_trait_values, symbol_value_dict, method)