Skip to content

Commit

Permalink
exception in hdf5,py
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoRenaud committed Nov 29, 2023
1 parent 69dd17e commit bfa8894
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qmctorch/utils/hdf5_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def load_group(grp, parent_obj, grp_name):
if not hasattr(parent_obj, grp_name):
parent_obj.__setattr__(grp_name, SimpleNamespace())
load_object(grp, parent_obj.__getattribute__(grp_name), grp_name)
except:
except Exception as expt_message:
print(expt_message)
print_load_error(grp_name)


Expand Down

0 comments on commit bfa8894

Please sign in to comment.