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