Skip to content
Snippets Groups Projects
Commit 6d85bd66 authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

print gtsdf attribute names on attribute error

parent 6685fc32
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,8 @@ class Dataset(object):
try:
return self(name)
except:
for i, n in enumerate(self.info['attribute_names']):
print (i,n)
raise e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment