Skip to content

Commit

Permalink
Merge pull request #24 from daisybio/transcriptInteractions
Browse files Browse the repository at this point in the history
swagger update
  • Loading branch information
nictru authored Dec 12, 2024
2 parents e5de24e + 9a7debd commit 40f2ae6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,8 +948,8 @@ class Meta:
fields = ["correlation", "mscor", "p_value", "sponge_run", "transcript_1", "transcript_2"]

sponge_run = ma.Nested(lambda: SpongeRunSchema(only=("sponge_run_ID", "dataset")))
transcript1 = ma.Nested(lambda: TranscriptSchema(only=("enst_number", )))
transcript2 = ma.Nested(lambda: TranscriptSchema(only=("enst_number", )))
transcript_1 = ma.Nested(lambda: TranscriptSchema(only=("enst_number", )))
transcript_2 = ma.Nested(lambda: TranscriptSchema(only=("enst_number", )))

class GeneEnrichmentScoreSchema(ma.SQLAlchemyAutoSchema):
class Meta:
Expand Down
4 changes: 2 additions & 2 deletions swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,7 @@ paths:
correlation:
type: number
description: Correlation of the corresponding ceRNA interaction.
transcript1:
transcript_1:
type: object
description: transcript of the first part of the ceRNA interaction.
properties:
Expand All @@ -2001,7 +2001,7 @@ paths:
gene_symbol:
type: string
description: Symbol of the gene that the transcript is part of
transcript2:
transcript_2:
type: object
description: transcript of the second part of the ceRNA interaction.
properties:
Expand Down

0 comments on commit 40f2ae6

Please sign in to comment.