Skip to content

Commit

Permalink
troubleshooting h5saving
Browse files Browse the repository at this point in the history
  • Loading branch information
darianyang committed Feb 29, 2024
1 parent 9a09fe4 commit 460f700
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wedap/h5_pdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ def __init__(self, h5="west.h5", data_type=None, Xname="pcoord", Xindex=0, Yname
self.Xsave_name = Xsave_name
self.Ysave_name = Ysave_name
self.Zsave_name = Zsave_name
print(H5save_out)
print(type(H5save_out))
if H5save_out is not None:
shutil.copyfile(self.h5_name, str(H5save_out))
self.H5save_out = h5py.File(H5save_out, "r+")
Expand Down

0 comments on commit 460f700

Please sign in to comment.