Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yfarjoun committed Oct 18, 2024
1 parent 1d8f92d commit e9c0b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fgpyo/sam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def query_alignment_offsets(self) -> tuple:
respect to the beginning of the query. If no bases are aligned.
Throws:
An
A ValueError exception if according to the cigar, there are no aligned query bases.
"""
start_offset: int = 0
end_offset: int = 0
Expand All @@ -584,7 +584,7 @@ def query_alignment_offsets(self) -> tuple:

ret = (start_offset, end_offset)
if start_offset == end_offset:
raise ValueError("Cigar has no aligned bases")
raise ValueError(f"Cigar {self.__str__()} has no aligned bases")
return ret

def __getitem__(
Expand Down

0 comments on commit e9c0b25

Please sign in to comment.