aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/base/trait.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 6e835b45..1514bca2 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -387,13 +387,6 @@ def retrieve_trait_info(trait, dataset, get_qtl_info=False):
if not dataset:
raise ValueError("Dataset doesn't exist")
- resource_id = get_resource_id(dataset, trait.name)
- if dataset.type == 'Publish':
- the_url = GN_PROXY_URL + "run-action?resource={}&user={}&branch=data&action=view".format(
- resource_id, g.user_session.user_id)
- else:
- the_url = GN_PROXY_URL + "run-action?resource={}&user={}&branch=data&action=view&trait={}".format(
- resource_id, g.user_session.user_id, trait.name)
with database_connection() as conn, conn.cursor() as cursor:
trait_info = ()
if dataset.type == 'Publish':