Issue #1257: Fix for specifying no group. Should have returned root group
Change-Id: Id197fd6d121cc152c7d8b64a474ab018087ab112 Former-commit-id:cdb621f65d
[formerly584f4d6c46
] [formerly7102489193
] [formerly7102489193
[formerlya03cafd9a5
]] [formerlye17446851b
[formerly7102489193
[formerlya03cafd9a5
] [formerlye17446851b
[formerly a21b949c55f7d83832bbec3427a3e5971c695114]]]] Former-commit-id:e17446851b
Former-commit-id: fab621d6b006ac27a64191636aee867d3b79f681 [formerly c253e93fd8ddf907930debfa16ace2a1665eec28] [formerlybbb2c21ccb
[formerly0c3ba259b3
]] Former-commit-id:bbb2c21ccb
Former-commit-id:4353c5dbaa
This commit is contained in:
parent
7647d06e49
commit
c754726543
1 changed files with 8 additions and 4 deletions
|
@ -631,6 +631,10 @@ class H5pyDataStore(IDataStore.IDataStore):
|
|||
grp = grp[s]
|
||||
else:
|
||||
grp = grp.create_group(s)
|
||||
else:
|
||||
if name is None or len(name.strip()) == 0:
|
||||
# if no group is specific default to base group
|
||||
grp = f['/']
|
||||
else:
|
||||
try:
|
||||
grp = f[name]
|
||||
|
|
Loading…
Add table
Reference in a new issue