Skip to content

Commit

Permalink
Merge pull request #77 from daisybio/transcriptInteraction_fix
Browse files Browse the repository at this point in the history
bug fix dataset filter network
  • Loading branch information
strasserle authored Jan 30, 2025
2 parents cc9c885 + 3eb9ba9 commit 3c5458a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/transcriptInteraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ def get_transcript_network(dataset_ID: int = None, disease_name=None,
# filter edges based on filtered nodes
nodes = db.session.execute(node_query).scalars().all()
node_tr_ids = set([node.transcript_ID for node in nodes])
edge_query = db.select(models.TranscriptInteraction).filter(
edge_query = edge_query.filter(
and_(
models.TranscriptInteraction.transcript_ID_1.in_(node_tr_ids),
models.TranscriptInteraction.transcript_ID_2.in_(node_tr_ids)
Expand Down

0 comments on commit 3c5458a

Please sign in to comment.