Issue #1257: pypies add base group if not specified
Change-Id: I3c770b63546790c0ae681e5abce78d117d502d0d Former-commit-id:a6098bb63b
[formerlyf8f1c4b67a
] [formerlycd3ad6cb4a
[formerly 510404856e79373c9895bda235e434afbbcd71ed]] Former-commit-id:cd3ad6cb4a
Former-commit-id:a1deadef0d
This commit is contained in:
parent
1843e8fd02
commit
ca0446cea6
1 changed files with 4 additions and 1 deletions
|
@ -662,7 +662,10 @@ class H5pyDataStore(IDataStore.IDataStore):
|
|||
grp = f['/']
|
||||
else:
|
||||
try:
|
||||
grp = f[name]
|
||||
group=name
|
||||
if not group.startswith('/'):
|
||||
group = '/' + group
|
||||
grp = f[group]
|
||||
except:
|
||||
raise StorageException("No group " + name + " found")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue