diff options
author | zsloan | 2021-12-14 18:20:48 +0000 |
---|---|---|
committer | zsloan | 2021-12-14 12:22:51 -0600 |
commit | 92e555531e53630ce11e34a0b67bb111647b47c1 (patch) | |
tree | 5c251f905d4477864354083c11d0060f1ca03995 /wqflask | |
parent | 522214bd2edf83e68a94ed5fd0d891548cacf34f (diff) | |
download | genenetwork2-92e555531e53630ce11e34a0b67bb111647b47c1.tar.gz |
Includes dataset name when creating SimpleNamespace dataset_ob, since it's needed during authentication
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/gsearch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/gsearch.py b/wqflask/wqflask/gsearch.py index 31f3305c..53a124d0 100644 --- a/wqflask/wqflask/gsearch.py +++ b/wqflask/wqflask/gsearch.py @@ -119,7 +119,7 @@ class GSearch: this_trait['dataset_id'] = line[15] dataset_ob = SimpleNamespace( - id=this_trait["dataset_id"], type="ProbeSet", species=this_trait["species"]) + id=this_trait["dataset_id"], type="ProbeSet", name=this_trait["dataset"], species=this_trait["species"]) if dataset_ob.id not in dataset_to_permissions: permissions = check_resource_availability(dataset_ob) dataset_to_permissions[dataset_ob.id] = permissions |