Skip to content

Commit

Permalink
pydantic version of genome_annotation model (genome_annotation.py) wa…
Browse files Browse the repository at this point in the history
…s updated. Pushed from brain-bican/model repository
  • Loading branch information
puja-trivedi committed Oct 3, 2024
1 parent efc5ee9 commit e463467
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions bkbit/models/genome_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,10 +412,6 @@ class GeneAnnotation(Gene):
"""
An annotation describing the location, boundaries, and functions of individual genes within a genome annotation.
"""

def __hash__(self):
return hash(tuple([self.id, self.name, self.molecular_type, self.description]))

molecular_type: Optional[Union[BioType, str]] = Field(None)
source_id: Optional[str] = Field(None, description="""The authority specific identifier.""")
referenced_in: Union[GenomeAnnotation, str] = Field(..., description="""The genome annotation that this gene annotation was referenced from.""")
Expand Down

0 comments on commit e463467

Please sign in to comment.