Skip to content

Commit

Permalink
Fix print when row names are empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed Nov 27, 2023
1 parent 9166aab commit f199575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biocframe/BiocFrame.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def __str__(self) -> str:
indices = [0, 1, 2, nr - 3, nr - 2, nr - 1]
insert_ellipsis = True

raw_floating = ut.create_floating_names(self._row_names.as_list(), indices)
raw_floating = ut.create_floating_names(self._row_names, indices)
if insert_ellipsis:
raw_floating = raw_floating[:3] + [""] + raw_floating[3:]
floating = ["", ""] + raw_floating
Expand Down

0 comments on commit f199575

Please sign in to comment.