From 6281b46ea8876fc3b6cd6a51d947b75f9a362b34 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 6 Oct 2023 13:57:39 -0400 Subject: [PATCH] Use AlignedSegment.to_string --- lib/galaxy/datatypes/binary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/datatypes/binary.py b/lib/galaxy/datatypes/binary.py index 022631195215..6ff176063f4a 100644 --- a/lib/galaxy/datatypes/binary.py +++ b/lib/galaxy/datatypes/binary.py @@ -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.