Skip to content

Commit

Permalink
chore: fix f-string syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
clintval committed Jan 10, 2025
1 parent f8d56d0 commit e7f2ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fgpyo/sam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ def from_tag_value(cls, tag: str, value: str) -> Self:
fields: list[str] = value.rstrip(",").split(",")

if tag not in cls.SAM_TAGS:
raise ValueError(f"Tag {tag} is not one of {", ".join(cls.SAM_TAGS)}!")
raise ValueError(f"Tag {tag} is not one of {', '.join(cls.SAM_TAGS)}!")

elif tag == "SA" and len(fields) == 6:
reference_name, reference_start, strand, cigar, mapq, edit_distance = fields
Expand Down

0 comments on commit e7f2ae2

Please sign in to comment.