Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Oct 21, 2023
1 parent 932e654 commit d47857e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/hdmf/term_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,17 @@ def __repr__(self):
return re

Check warning on line 62 in src/hdmf/term_set.py

View check run for this annotation

Codecov / codecov/patch

src/hdmf/term_set.py#L60-L62

Added lines #L60 - L62 were not covered by tests

def _repr_html_(self):
re = "<p><b>" + "Schema Path: " + "</b>" + self.term_schema_path + "<br>" + "</p>"
re += "<p><b>" + "Sources: " + "</b>" + ", ".join(list(self.sources.keys())) + "</p>"
terms = list(self.view_set.keys())
re = "<b>" + "Schema Path: " + "</b>" + self.term_schema_path + "<br>"
re += "<b>" + "Sources: " + "</b>" + ", ".join(list(self.sources.keys())) + "<br>"
re += "<b> Terms: </b>"
re += "<ul>"
re += "<li> %s </li>" % terms[0]
re += "<li> %s </li>" % terms[1]
re += "<li> %s </li>" % terms[2]
re += "<li> ... </li>"
re += "</ul>"

Check warning on line 74 in src/hdmf/term_set.py

View check run for this annotation

Codecov / codecov/patch

src/hdmf/term_set.py#L65-L74

Added lines #L65 - L74 were not covered by tests

return re

def __perm_value_key_info(self, perm_values_dict: dict, key: str):
Expand Down

0 comments on commit d47857e

Please sign in to comment.