Skip to content

Commit

Permalink
Merge pull request #12 from SHZ66/h5py-bugfix
Browse files Browse the repository at this point in the history
H5py bugfix
  • Loading branch information
SHZ66 committed Jun 24, 2021
2 parents 8efd3df + cd0f857 commit e91ebbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/westpa/core/data_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def _find_multi_iter_group(self, n_iter, master_group_name):
# This extra [0] is to work around a bug in h5py
try:
group = self.we_h5file[group_ref]
except AttributeError:
except (TypeError, AttributeError):
group = self.we_h5file[group_ref[0]]
else:
log.debug('h5py fixed; remove alternate code path')
Expand Down

0 comments on commit e91ebbe

Please sign in to comment.