Skip to content

Commit

Permalink
Merge pull request #43 from daisybio/modules
Browse files Browse the repository at this point in the history
Update docker-publish.yml
  • Loading branch information
strasserle authored Dec 19, 2024
2 parents 78ce47b + a6200ad commit ee056f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
4 changes: 2 additions & 2 deletions app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ class Meta:
'mean_gini_decrease',
'mean_accuracy_decrease']

transcript = ma.Nested(lambda: TranscriptSchema(only=("transcript_ID", "enst_number")))
transcript = ma.Nested(lambda: TranscriptSchema(only=("enst_number", )))


class SpongEffectsTranscriptModuleMembersSchema(ma.SQLAlchemyAutoSchema):
Expand All @@ -1079,7 +1079,7 @@ class Meta:
'spongEffects_transcript_module_ID',
'transcript']

transcript = ma.Nested(lambda: TranscriptSchema(only=("transcript_ID", "enst_number")))
transcript = ma.Nested(lambda: TranscriptSchema(only=("enst_number", )))


class DESchema(ma.SQLAlchemyAutoSchema):
Expand Down
14 changes: 2 additions & 12 deletions swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ info:
servers:
- url: /sponge-api
description: Main (production) server
- url: /sponge-api-dev
description: Internal staging server for testing
components:
parameters:
VersionParam:
Expand Down Expand Up @@ -3846,9 +3848,6 @@ paths:
type: object
description: Information about the gene.
properties:
gene_ID:
type: integer
description: Internal database ID of the gene.
ensg_number:
type: string
description: Ensg number of the gene.
Expand Down Expand Up @@ -3918,9 +3917,6 @@ paths:
type: object
description: Information about the gene.
properties:
gene_ID:
type: integer
description: Internal database ID of the gene.
ensg_number:
type: string
description: Ensg number of the gene.
Expand Down Expand Up @@ -4002,9 +3998,6 @@ paths:
type: object
description: Information about the transcript.
properties:
transcript_ID:
type: integer
description: Internal database ID of the transcript.
enst_number:
type: string
description: Enst number of the transcript.
Expand Down Expand Up @@ -4089,9 +4082,6 @@ paths:
type: object
description: Information about the transcript.
properties:
transcript_ID:
type: integer
description: Internal database ID of the transcript.
enst_number:
type: string
description: Enst number of the transcript.
Expand Down

0 comments on commit ee056f4

Please sign in to comment.