Skip to content
Snippets Groups Projects
Commit 96ed5b22 authored by Florian Atteneder's avatar Florian Atteneder
Browse files

Revert "remove is_file check for .h5 file"

This reverts commit 6a5c1a3c.
parent 90e1f3e0
Branches fa/fix-core-h5
No related tags found
1 merge request!7remove is_file check for .h5 file in CoRe_h5 constructor
......@@ -45,6 +45,8 @@ class CoRe_h5(object):
self.path = path
self.mdata = metadata # needed only in create/write
self.dfile = dfile
if not os.path.isfile(os.path.join(path,dfile)):
print("No .h5 file found!")
def create_dset(self, datain, path = None, dfile = None):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment