Skip to content
Snippets Groups Projects
Commit b2336145 authored by Nikolai.Hartmann's avatar Nikolai.Hartmann
Browse files

catch KeyError as well as IOError in _load_data

parent 9f5de8d3
No related branches found
No related tags found
No related merge requests found
......@@ -409,7 +409,7 @@ class ClassificationProject(object):
# if those don't exist, we need to load them from ROOT trees first
self._load_from_hdf5(*self.dataset_names_tree)
except KeyError:
except (KeyError, IOError):
logger.info("Couldn't load all datasets - reading from ROOT trees")
......
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