aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorAlexander Kabui2021-06-14 00:54:55 +0300
committerzsloan2021-06-17 18:51:27 +0000
commitbeea9ac15e531c32b2368e04261e521d8a03c8c8 (patch)
tree56f469b806415a09dbce649e581fa289987e4b26 /wqflask
parent48e66dc230292a9c0b66da946106d8c9f611074f (diff)
downloadgenenetwork2-beea9ac15e531c32b2368e04261e521d8a03c8c8.tar.gz
minor refactoring
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/correlation/correlation_gn3_api.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/wqflask/wqflask/correlation/correlation_gn3_api.py b/wqflask/wqflask/correlation/correlation_gn3_api.py
index 5fa33027..d0ee7a8b 100644
--- a/wqflask/wqflask/correlation/correlation_gn3_api.py
+++ b/wqflask/wqflask/correlation/correlation_gn3_api.py
@@ -146,11 +146,7 @@ def fetch_sample_data(start_vars, this_trait, this_dataset, target_dataset):
sample_data = process_samples(
start_vars, this_dataset.group.samplelist)
-
- # sample_data = test_process_data(this_trait,this_dataset,start_vars)
-
if target_dataset.type == "ProbeSet":
- # pass
target_dataset.get_probeset_data(list(sample_data.keys()))
else:
target_dataset.get_trait_data(list(sample_data.keys()))
@@ -159,9 +155,6 @@ def fetch_sample_data(start_vars, this_trait, this_dataset, target_dataset):
"trait_sample_data": sample_data,
"trait_id": start_vars["trait_id"]
}
-
- # should remove this len(samplelist) == len(strain_values)
-
results = map_shared_keys_to_values(
target_dataset.samplelist, target_dataset.trait_data)