Skip to content

Commit

Permalink
Merge pull request #6 from acg-team/sequence_data_feature_mgymrek
Browse files Browse the repository at this point in the history
changing syntax for gene id in transcript
  • Loading branch information
gymreklab authored Aug 6, 2024
2 parents 6fe1cd0 + 97c31c8 commit a698123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strAPI/repeats/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Transcript(SQLModel, table=True):
end: int = Field(nullable=False)

# one to many Gene -> Transcripts
gene_id = Field(Integer, foreign_key ="genes.id")
gene_id: int = Field(Integer, foreign_key ="genes.id")

gene: "Gene" = Relationship(back_populates="transcripts")

Expand Down

0 comments on commit a698123

Please sign in to comment.