Skip to content

Commit

Permalink
Merge pull request #879 from jan-janssen/filetable_broken_files
Browse files Browse the repository at this point in the history
Filetable ignore broken HDF5 files
  • Loading branch information
jan-janssen authored Oct 26, 2022
2 parents a6d528b + 9b07afc commit a74859a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_base/database/filetable.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def init_table(self, fileindex, working_dir_lst=None):
for path, mtime in zip(fileindex.path, fileindex.mtime):
try: # Ignore HDF5 files which are not created by pyiron
job_dict = self.get_extract(path, mtime)
except ValueError:
except (ValueError, OSError):
pass
else:
job_dict["id"] = len(working_dir_lst) + 1
Expand Down

0 comments on commit a74859a

Please sign in to comment.