aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-09-05 17:03:51 +0000
committerzsloan2021-09-05 17:03:51 +0000
commitf81a5629ab6ea7e39893af00e59c3ac6d79d7892 (patch)
tree9ca03353255d56bdf9f6867362abe1565cbd89a7
parentf4297bc9e4c49f58e0759d02d3e7aea392ba5615 (diff)
downloadgenenetwork2-f81a5629ab6ea7e39893af00e59c3ac6d79d7892.tar.gz
Fixed issue that caused sample data to not be fetched correctly; there's something wrong with the 'get_probeset_data' function (not sure why this function exists)
-rw-r--r--wqflask/wqflask/correlation/correlation_gn3_api.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/wqflask/wqflask/correlation/correlation_gn3_api.py b/wqflask/wqflask/correlation/correlation_gn3_api.py
index d0d4bcba..a18bceaf 100644
--- a/wqflask/wqflask/correlation/correlation_gn3_api.py
+++ b/wqflask/wqflask/correlation/correlation_gn3_api.py
@@ -150,10 +150,7 @@ def fetch_sample_data(start_vars, this_trait, this_dataset, target_dataset):
sample_data = process_samples(
start_vars, this_dataset.group.all_samples_ordered())
- if target_dataset.type == "ProbeSet":
- target_dataset.get_probeset_data(list(sample_data.keys()))
- else:
- target_dataset.get_trait_data(list(sample_data.keys()))
+ target_dataset.get_trait_data(list(sample_data.keys()))
this_trait = retrieve_sample_data(this_trait, this_dataset)
this_trait_data = {
"trait_sample_data": sample_data,