Skip to content

Commit

Permalink
Update fgpyo/fasta/sequence_dictionary.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nh13 authored Jul 15, 2024
1 parent 7fc27d8 commit 0ecb32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fgpyo/fasta/sequence_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def same_as(self, other: "SequenceMetadata") -> bool:

def to_sam(self) -> Dict[str, Any]:
"""Converts the sequence metadata to a dictionary equivalent to one item in the
list of sequences from `pysam.AlignmentHeader#to_dict()`."""
list of sequences from `pysam.AlignmentHeader#to_dict()["SQ"]`."""
meta_dict: Dict[str, Any] = {
f"{Keys.SEQUENCE_NAME}": self.name,
f"{Keys.SEQUENCE_LENGTH}": self.length,
Expand Down

0 comments on commit 0ecb32c

Please sign in to comment.