Skip to content
Snippets Groups Projects

Master

Merged Hartung, Michael requested to merge master into development
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 0
1
@@ -178,7 +178,6 @@ def fetch_edges(request) -> Response:
"""
dataset = request.data.get('dataset', 'STRING')
netex_ids = [node['netex_id'][1:] for node in request.data.get('nodes', '[]') if 'netex_id' in node]
dataset_object = models.PPIDataset.objects.get(name__iexact=dataset)
interaction_objects = models.ProteinProteinInteraction.objects.filter(
Q(ppi_dataset=dataset_object) & Q(from_protein__in=netex_ids) & Q(to_protein__in=netex_ids))
Loading