aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
authorAlexander Kabui2021-03-30 23:58:02 +0300
committerAlexander Kabui2021-03-30 23:58:02 +0300
commitb88d63ac06f157a97cc88bee0ea702949a5a0c64 (patch)
tree60ad4156c27c2a2801c291bc5ed9d29a048e2ba5 /gn3/api
parent31d9aeb1bf4686500406a809d0c5fa4b629125b0 (diff)
downloadgenenetwork3-b88d63ac06f157a97cc88bee0ea702949a5a0c64.tar.gz
refactor retrieve trait sample data and tests
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/traits.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/traits.py b/gn3/api/traits.py
index b3ddcc0..a9ff906 100644
--- a/gn3/api/traits.py
+++ b/gn3/api/traits.py
@@ -20,7 +20,7 @@ def home():
def create_trait(trait_name, dataset_name):
"""endpoints for creating trait first should\
call the endpoint for creating the trait only\
- trait data is the sample data"""
+ also acts as endpoints for fetching trait data"""
trait_dataset = mock.Mock() # xtodo should replace this with calling epoints
trait_dataset.name = dataset_name