Skip to content

Commit

Permalink
rm uncessary warning making noisy to check if contig length was defined
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMainguy committed Nov 18, 2024
1 parent 7ee9bd4 commit 7079533
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ppanggolin/genome.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7079533

Please sign in to comment.