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

fixed missing entries issue in result generation

parent 098e418e
No related branches found
No related tags found
No related merge requests found
Pipeline #63686 failed
......@@ -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.
Finish editing this message first!
Please register or to comment