Unverified Commit 65c16ab1 authored by Wolfgang Maier's avatar Wolfgang Maier Committed by mvdbeek
Browse files

Fix wrongly saved file

parent 7229cf0b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -627,8 +627,8 @@ class BamNative(CompressedArchive, _BamOrSam):
                        n_tabs = bamline.count('\t')
                        if n_tabs > 11:
                            bamline, *extra_tags = bamline.rsplit('\t', maxsplit=n_tabs - 11)
                            bamline = f"{bamline} {' '.join(extra_tags)
                        ck_lines.append(f"{bamline} {' '.join(extra_tags)}")
                            bamline = f"{bamline} {' '.join(extra_tags)}"
                        ck_lines.append(bamline)
                    else:
                        # Nothing to enumerate; we've either offset to the end
                        # of the bamfile, or there is no data. (possible with