Skip to content

Commit

Permalink
feat: print failed file_path;
Browse files Browse the repository at this point in the history
  • Loading branch information
WenjieDu committed May 30, 2024
1 parent c39beb2 commit 9acd50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypots/data/saving/h5.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def load_dict_from_h5(
assert isinstance(
file_path, str
), f"`file_path` should be a string, but got {type(file_path)}."
assert os.path.exists(file_path), "`file_path` does not exist."
assert os.path.exists(file_path), f"file_path {file_path} does not exist."

def load_set(handle, datadict):
for key, item in handle.items():
Expand Down

0 comments on commit 9acd50f

Please sign in to comment.