From 9b9194b838eb1dbb6ddfe40ddf9ca4f422077d73 Mon Sep 17 00:00:00 2001 From: puja-trivedi Date: Fri, 4 Oct 2024 03:36:04 +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.""")