Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pysam/libcalignedsegment.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ cdef inline pack_tags(tags):
raise ValueError("unsupported type code '{}'".format(value.typecode))

if typecode not in DATATYPE2FORMAT:
raise ValueError("invalid value type '{}' ({})".format(chr(typecode), array.typecode))
raise ValueError("invalid value type '{}' ({})".format(chr(typecode), typecode))

# use array.tostring() to retrieve byte representation and
# save as bytes
Expand Down