From 707953370de2eae7b99dceb3d15932d485ead685 Mon Sep 17 00:00:00 2001 From: JeanMainguy Date: Mon, 18 Nov 2024 15:23:35 +0100 Subject: [PATCH] rm uncessary warning making noisy to check if contig length was defined --- ppanggolin/genome.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ppanggolin/genome.py b/ppanggolin/genome.py index 46cbdcdd..331db45c 100644 --- a/ppanggolin/genome.py +++ b/ppanggolin/genome.py @@ -553,8 +553,6 @@ def __setitem__(self, coordinate: Tuple[int, int, str], gene: Gene): @property def length(self) -> Union[int, None]: """Get the length of the contig""" - if self._length is None: - logging.getLogger("PPanGGOLiN").warning("Contig length is unknown") return self._length @length.setter