Skip to content

Commit

Permalink
Fix bug with printing array schemas to HTML (#2152)
Browse files Browse the repository at this point in the history
I noticed the HTML generated after using the `.schema` property on an open array was incorrect and missing a closing tag.
  • Loading branch information
nickvigilante authored Feb 6, 2025
1 parent 39f8697 commit f2bb95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiledb/array_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def _repr_html_(self):
output.write(f"<tr><td>{self.sparse}</td></tr>")

if self.sparse:
output.write("<tr><th>Allows DuplicatesK/th></tr>")
output.write("<tr><th>Allows Duplicates</th></tr>")
output.write(f"<tr><td>{self.allows_duplicates}</td></tr>")

output.write("</table>")
Expand Down

0 comments on commit f2bb95c

Please sign in to comment.