Commit 93139cb2 authored by William Clarke's avatar William Clarke
Browse files

Clean up hdr repr.

parent 5ee6ea11
......@@ -9,6 +9,15 @@ class twix_hdr(AttrDict):
def __init__(self, *args):
def __str__(self):
keystr = '\n'.join([k for k in self.keys()])
des_str = ('***twix_hdr***\n'
f'Top level data structures: \n{keystr}\n')
return des_str
def __repr__(self):
return str(self)
def search_using_tuple(s_terms, key, regex=True):
if regex:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment