From e46346744f064989a55143c395883c977ca3ff6b Mon Sep 17 00:00:00 2001 From: puja-trivedi Date: Thu, 3 Oct 2024 03:38:57 +0000 Subject: [PATCH] pydantic version of genome_annotation model (genome_annotation.py) was updated. Pushed from brain-bican/model repository --- bkbit/models/genome_annotation.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bkbit/models/genome_annotation.py b/bkbit/models/genome_annotation.py index d83ba6b..a10acbc 100644 --- a/bkbit/models/genome_annotation.py +++ b/bkbit/models/genome_annotation.py @@ -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.""")