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

fixed missing entries issue in result generation

parent 2bf490dd
No related branches found
No related tags found
No related merge requests found
......@@ -366,11 +366,10 @@ def result_view(request) -> Response:
for node_id, detail in node_details.items():
if 'drugstoneType' in detail and detail['drugstoneType'] == 'protein':
detail['symbol'] = list(set(detail['symbol']))
detail['entrez'] = list(set(detail['entrez']))
detail['uniprot'] = list(set(detail['uniprot']))
if 'ensg' in detail:
detail['ensg'] = list(set(detail['ensg']))
detail['symbol'] = list(set(detail['symbol'])) if 'symbol' in detail else []
detail['entrez'] = list(set(detail['entrez'])) if 'entrez' in detail else []
detail['uniprot'] = list(set(detail['uniprot'])) if 'uniprot' in detail else []
detail['ensg'] = list(set(detail['ensg'])) if 'ensg' in detail else []
edges = parameters['input_network']['edges']
......
......@@ -11,4 +11,5 @@ else
python3 manage.py populate_db --update -a
python3 manage.py make_graphs
fi
/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.
Please register or to comment