aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/computations
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2021-08-20 14:24:35 +0300
committerMuriithi Frederick Muriuki2021-08-20 14:24:35 +0300
commit0023b7a0e4a794444364b403cba72e07213c8419 (patch)
treec6613c66cb9d041acbea7f132c89a26203c2a1e0 /tests/unit/computations
parent96af4e9e32ed167a8d70cf7761b709b1a37bb344 (diff)
parentc9ee473ff7797f6bbd7507eb55c772a3a646acee (diff)
downloadgenenetwork3-0023b7a0e4a794444364b403cba72e07213c8419.tar.gz
Merge branch 'main' of github.com:genenetwork/genenetwork3 into heatmap_generation
Diffstat (limited to 'tests/unit/computations')
-rw-r--r--tests/unit/computations/test_correlation.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/computations/test_correlation.py b/tests/unit/computations/test_correlation.py
index f2d65bd..fc52ec1 100644
--- a/tests/unit/computations/test_correlation.py
+++ b/tests/unit/computations/test_correlation.py
@@ -406,10 +406,10 @@ class TestCorrelation(TestCase):
target_tissue_data = {"trait_symbol_dict": target_trait_symbol,
"symbol_tissue_vals_dict": target_symbol_tissue_vals}
- mock_tissue_corr.side_effect = [{"tissue_corr": -0.5, "tissue_p_val": 0.9,
- "tissue_number": 3},
- {"tissue_corr": 1.11, "tissue_p_val": 0.2,
- "tissue_number": 3}]
+ mock_tissue_corr.side_effect = [{"1418702_a_at": {"tissue_corr": -0.5, "tissue_p_val": 0.9,
+ "tissue_number": 3}},
+ {"1412_at": {"tissue_corr": 1.11, "tissue_p_val": 0.2,
+ "tissue_number": 3}}]
expected_results = [{"1412_at":
{"tissue_corr": 1.11, "tissue_p_val": 0.2, "tissue_number": 3}},