Skip to content
Snippets Groups Projects
Commit 07e28286 authored by AndiMajore's avatar AndiMajore
Browse files

fixed missing entries issue in result generation

Former-commit-id: 27b2fd782cd6d3648b4842731aefd781a36dd590 [formerly 42f266cc31ee36db4ac9048589fa01e01bfb6a90]
Former-commit-id: 13f8f7f41fc5d92a31785d161dbbe29c4a7eb1e2
parent 5d10fd42
No related branches found
No related tags found
No related merge requests found
...@@ -366,11 +366,10 @@ def result_view(request) -> Response: ...@@ -366,11 +366,10 @@ def result_view(request) -> Response:
for node_id, detail in node_details.items(): for node_id, detail in node_details.items():
if 'drugstoneType' in detail and detail['drugstoneType'] == 'protein': if 'drugstoneType' in detail and detail['drugstoneType'] == 'protein':
detail['symbol'] = list(set(detail['symbol'])) detail['symbol'] = list(set(detail['symbol'])) if 'symbol' in detail else []
detail['entrez'] = list(set(detail['entrez'])) detail['entrez'] = list(set(detail['entrez'])) if 'entrez' in detail else []
detail['uniprot'] = list(set(detail['uniprot'])) detail['uniprot'] = list(set(detail['uniprot'])) if 'uniprot' in detail else []
if 'ensg' in detail: detail['ensg'] = list(set(detail['ensg'])) if 'ensg' in detail else []
detail['ensg'] = list(set(detail['ensg']))
edges = parameters['input_network']['edges'] edges = parameters['input_network']['edges']
......
...@@ -11,4 +11,5 @@ else ...@@ -11,4 +11,5 @@ else
python3 manage.py populate_db --update -a python3 manage.py populate_db --update -a
python3 manage.py make_graphs python3 manage.py make_graphs
fi fi
/usr/bin/supervisord -c "/etc/supervisor/conf.d/supervisord.conf" /usr/bin/supervisord -c "/etc/supervisor/conf.d/supervisord.conf"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment