diff options
author | Frederick Muriuki Muriithi | 2023-04-19 11:31:14 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-04-19 11:31:14 +0300 |
commit | 85610fc9670c0496bff045be0e148e3d2b3357d3 (patch) | |
tree | 3af78ea10f88ea5fc648b62727dea21db7e30637 | |
parent | 280f7970f3a63c2afa06f55ad59233260da2e2b9 (diff) | |
download | genenetwork3-85610fc9670c0496bff045be0e148e3d2b3357d3.tar.gz |
auth: phenotypes - provide default empty list for selected traits.
-rw-r--r-- | gn3/auth/authorisation/data/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/auth/authorisation/data/views.py b/gn3/auth/authorisation/data/views.py index 8bfe61c..a14e78b 100644 --- a/gn3/auth/authorisation/data/views.py +++ b/gn3/auth/authorisation/data/views.py @@ -152,7 +152,7 @@ def __search_phenotypes__(): redisuri = app.config["REDIS_URI"] with redis.Redis.from_url(redisuri, decode_responses=True) as redisconn: job_id = uuid.uuid4() - selected = __request_key__("selected_traits") + selected = __request_key__("selected_traits", []) command =[ sys.executable, "-m", "scripts.search_phenotypes", __request_key__("species_name"), |