Skip to content

Commit

Permalink
fix ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
bendichter committed Dec 1, 2023
1 parent e58663b commit f008d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf/common/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ def generate_html_repr(self, level: int = 0, access_code: str = "", nrows: int =
inside = f"{self[:min(nrows, len(self))].to_html()}"

if len(self) == nrows + 1:
inside += f"<p>... and 1 more row.</p>"
inside += "<p>... and 1 more row.</p>"
elif len(self) > nrows + 1:
inside += f"<p>... and {len(self) - nrows} more rows.</p>"

Expand Down

0 comments on commit f008d3b

Please sign in to comment.