aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-10-29 08:28:19 +0300
committerFrederick Muriuki Muriithi2021-10-29 08:28:19 +0300
commit37f7fee32604e9ae752a33b473dd1abe22b05906 (patch)
treed4c632089ec0dfa1d4e0cfd3ff69bac71fa217a0 /gn3/computations
parent1394adf862f0f6c7f403301faf4dd7812c2d1ea2 (diff)
downloadgenenetwork3-37f7fee32604e9ae752a33b473dd1abe22b05906.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)