Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions compas_python_utils/h5copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,13 +580,13 @@ def main():
outHDF5file = h5.h5f.open(fullOutFpath.encode('utf-8'), fapl = h5FileAccessPropertyList) # open it
except Exception as e: # error opening file
print('Error occurred while disabling HDF5 dataset cache:', str(e)) # announce error
ok = false # fail
ok = False # fail
else: # output file does not exist
try:
outHDF5file = h5.h5f.create(fullOutFpath.encode('utf-8'), fapl = h5FileAccessPropertyList) # create it
except Exception as e: # error creating file
print('Error occurred while disabling HDF5 dataset cache:', str(e)) # announce error
ok = false # fail
ok = False # fail

if ok:
try:
Expand Down