Skip to content

Commit

Permalink
fix for alternativeSplicing/getTranscriptEvents exception
Browse files Browse the repository at this point in the history
  • Loading branch information
strasserle committed Dec 13, 2024
1 parent 449ae4c commit 9838190
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/alternativeSplicing.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_transcript_events(enst_number):

if len(interaction_result) > 0:
# Serialize the data for the response depending on parameter all
return models.AlternativeSplicingEventTranscripts(many=True).dump(interaction_result)
return models.AlternativeSplicingEventsTranscriptsSchema(many=True).dump(interaction_result)
else:
return Response("{"
"\"detail\": \"No event types with given parameters found!\","
Expand Down

0 comments on commit 9838190

Please sign in to comment.