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

Fix linting

parent 65c16ab1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -624,9 +624,9 @@ class BamNative(CompressedArchive, _BamOrSam):
                        # 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.
                        n_tabs = bamline.count('\t')
                        n_tabs = bamline.count("\t")
                        if n_tabs > 11:
                            bamline, *extra_tags = bamline.rsplit('\t', maxsplit=n_tabs - 11)
                            bamline, *extra_tags = bamline.rsplit("\t", maxsplit=n_tabs - 11)
                            bamline = f"{bamline} {' '.join(extra_tags)}"
                        ck_lines.append(bamline)
                    else: