From e992a17308e1a4e9d2353a8cdf62109ce1fe9a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Arnoux?= Date: Fri, 15 Sep 2023 10:57:36 +0200 Subject: [PATCH] Remove Genedata in type for __eq__ --- VERSION | 2 +- ppanggolin/formats/readBinaries.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index aaf4dca1..0da01cf8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.186 +1.2.187 diff --git a/ppanggolin/formats/readBinaries.py b/ppanggolin/formats/readBinaries.py index dda50046..968c1f2c 100644 --- a/ppanggolin/formats/readBinaries.py +++ b/ppanggolin/formats/readBinaries.py @@ -49,7 +49,7 @@ def __init__(self, start: int, stop: int, strand: str, gene_type: str, position: self.product = product self.genetic_code = genetic_code - def __eq__(self, other: Genedata): + def __eq__(self, other): return self.start == other.start \ and self.stop == other.stop \ and self.strand == other.strand \