aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabui2021-06-14 00:54:55 +0300
committerBonfaceKilz2021-06-17 08:55:17 +0300
commitd703e0ae5f3ef92efb026bfdcc9d1bfe2d296a34 (patch)
tree9caacd04fa77b6d4526fce6bd6ea8a27a72bd09c
parent8418cf1554c664130a16b0b2030d1ca7680bf81c (diff)
downloadgenenetwork2-d703e0ae5f3ef92efb026bfdcc9d1bfe2d296a34.tar.gz
minor refactoring
-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 eb986655..fedc3146 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)