diff options
author | Alexander Kabui | 2021-04-06 22:54:08 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-04-06 22:54:08 +0300 |
commit | a1fcc30e84bd7201c852faf6f6a622face646ef8 (patch) | |
tree | 825fd0fa3571c4324c5c3d81dc1f6530e4a42cb1 /gn3/api/datasets.py | |
parent | ea610aa797d4c859fa9b9fa59a1eaa86ff7fd41c (diff) | |
download | genenetwork3-a1fcc30e84bd7201c852faf6f6a622face646ef8.tar.gz |
fix Docstrings
Diffstat (limited to 'gn3/api/datasets.py')
-rw-r--r-- | gn3/api/datasets.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gn3/api/datasets.py b/gn3/api/datasets.py index a6951fb..7f08de5 100644 --- a/gn3/api/datasets.py +++ b/gn3/api/datasets.py @@ -10,11 +10,10 @@ from gn3.experimental_db import database_connector dataset = Blueprint("dataset", __name__) - @dataset.route("/create/<dataset_name>/") @dataset.route("/create/<dataset_name>/<dataset_type>") def create_dataset_api(dataset_name, dataset_type=None): - """Test api/create/dataset/<dataset_name>/<dataset_type>""" + """Endpoint of creating dataset""" new_dataset = create_dataset( dataset_type=dataset_type, dataset_name=dataset_name) @@ -27,9 +26,8 @@ def create_dataset_api(dataset_name, dataset_type=None): @dataset.route("/fetch_traits_data/<dataset_name>/<dataset_type>") def fetch_traits_data(dataset_name, dataset_type): - """test fetch_traits_data/dataset_name/dataset_type""" - # what actually brings speed issues in correlation - # should fetch this + """Endpoint for fetching Trait data""" + # should fetch this(temp) trait_sample_ids = [4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 17, 18, 19, 20, 21, 22, 24, 25, 26, 28, 29, 30, 31, 35, 36, 37, 39, 98, 99, 100, 103, 487, 105, 106, 110, 115, |