From 2bfce28dfc50e32fe84bfcf3aeb27cba6ac48f08 Mon Sep 17 00:00:00 2001 From: AndiMajore <andi.majore@googlemail.com> Date: Mon, 16 Jan 2023 19:26:19 +0100 Subject: [PATCH] added intersect --- docker-django.env.dev | 2 +- drugstone/views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-django.env.dev b/docker-django.env.dev index 91d6c04..6f5a076 100644 --- a/docker-django.env.dev +++ b/docker-django.env.dev @@ -15,4 +15,4 @@ CELERY_BROKER_URL=redis://redis:6379/0 FLOWER_PORT=8888 FLOWER_BASIC_AUTH=drugstone:test GT_THREADS=2 -DB_UPDATE_ON_START=0 \ No newline at end of file +DB_UPDATE_ON_START=1 \ No newline at end of file diff --git a/drugstone/views.py b/drugstone/views.py index 5024bab..47f7b4d 100755 --- a/drugstone/views.py +++ b/drugstone/views.py @@ -336,7 +336,7 @@ def result_view(request) -> Response: else: continue - nodes_mapped, _ = query_proteins_by_identifier(protein_nodes, identifier) + nodes_mapped, identifier = query_proteins_by_identifier(protein_nodes, identifier) nodes_mapped_dict = {node[identifier][0]: node for node in nodes_mapped} -- GitLab