Skip to content

Commit

Permalink
[G5list] Improved rendering (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed Jul 24, 2020
1 parent c8d305f commit d9e8595
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion GooseHDF5/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
warnings.filterwarnings("ignore")


__version__ = '0.8.0'
__version__ = '0.8.1'


def abspath(path):
Expand Down
6 changes: 3 additions & 3 deletions GooseHDF5/cli/G5list.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ def print_attribute(source, paths):
data = source[path]

print('"{0:s}"'.format(path))
print('size = {0:s}, shape = {1:s}, dtype = {2:s}'.format(
print('- prop: size = {0:s}, shape = {1:s}, dtype = {2:s}'.format(
str(data.size), str(data.shape), str(data.dtype)))

for key in data.attrs:
print(key + ':')
print(data.attrs[key])
print('- attr: ' + key + ' = ')
print(' ' + data.attrs[key])

print('')

Expand Down

0 comments on commit d9e8595

Please sign in to comment.