Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion h5pyd/_hl/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,10 +975,13 @@ def __delitem__(self, name):

self.DELETE(req)

if not isinstance(name, list):
# convert to a list to avoid code duplication in link cache cleanup
name = [name,]
for n in name:
if n.find('/') == -1 and n in self._link_db:
# remove from link cache
del self._link_db[name]
del self._link_db[n]

def __len__(self):
""" Number of members attached to this group """
Expand Down
Loading