diff options
author | Alexander Kabui | 2021-04-06 22:30:02 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-04-06 22:30:02 +0300 |
commit | ea610aa797d4c859fa9b9fa59a1eaa86ff7fd41c (patch) | |
tree | 86131edaf05446afcff702d9215b627a0759a501 /gn3/computations | |
parent | a301093ce9ea825606db29bd1f1f40e1971897dd (diff) | |
download | genenetwork3-ea610aa797d4c859fa9b9fa59a1eaa86ff7fd41c.tar.gz |
delete unnecessary functions and comments
Diffstat (limited to 'gn3/computations')
-rw-r--r-- | gn3/computations/datasets.py | 2 | ||||
-rw-r--r-- | gn3/computations/traits.py | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/gn3/computations/datasets.py b/gn3/computations/datasets.py index 3664e4a..57e1fe1 100644 --- a/gn3/computations/datasets.py +++ b/gn3/computations/datasets.py @@ -317,5 +317,7 @@ def get_traits_data(sample_ids, database_instance, dataset_name, dataset_type): dataset_type, dataset_type, full_dataset_type)) + # print(query) + _results = fetch_from_db_sample_data(query, database_instance) return {} diff --git a/gn3/computations/traits.py b/gn3/computations/traits.py index 38072ed..1aa2970 100644 --- a/gn3/computations/traits.py +++ b/gn3/computations/traits.py @@ -2,11 +2,6 @@ from gn3.computations.datasets import retrieve_trait_sample_data -def compute_sum(rhs_val: int, lhs_val: int) -> int: - """initial function for trait module""" - return rhs_val + lhs_val - - def fetch_trait(dataset, trait_name: str, database) -> dict: """this method creates a trait by\ fetching required data given the\ |