Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
jpjarnoux committed Oct 23, 2023
1 parent 4defeca commit 95171ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ppanggolin/genome.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def length(self, contig_len: int):

if self.length is None:
self._length = contig_len
elif self.length != contig_length:
elif self.length != contig_len:
raise ValueError('Attempting to define a contig length different from the previously defined value.')


Expand Down
2 changes: 1 addition & 1 deletion ppanggolin/region.py
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ def organisms(self) -> Generator[Organism, None, None]:
organisms = set()
for fam in self.families:
organisms |= set(fam.organisms)
return organisms
yield from organisms


def mk_bitarray(self, index: Dict[Organism, int], partition: str = 'all'):
Expand Down

0 comments on commit 95171ee

Please sign in to comment.