Skip to content

Commit

Permalink
Use AlignedSegment.to_string
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Oct 6, 2023
1 parent bdcd16e commit 6281b46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/datatypes/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def get_chunk(self, trans, dataset: HasFileName, offset: int = 0, ck_size: Optio
break

offset = bamfile.tell()
bamline = alignment.tostring(bamfile)
bamline = alignment.to_string(bamfile)
# With multiple tags, Galaxy would display each as a separate column
# because the 'tostring()' function uses tabs also between tags.
# Below code will turn these extra tabs into spaces.
Expand Down

0 comments on commit 6281b46

Please sign in to comment.