Merge "Issue #1257: pypies add base group if not specified" into development
Former-commit-id:018c00f373
[formerly2b5236635a
] [formerly018c00f373
[formerly2b5236635a
] [formerlyefbadb9c27
[formerly 396eb56b51bf75ebe68e0a78289c132de3f91419]]] Former-commit-id:efbadb9c27
Former-commit-id:5329e6f11f
[formerly7e9d082e29
] Former-commit-id:c51420fecb
This commit is contained in:
commit
6d7721f9c8
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