Commit 7b3d31a6 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[data] Add warning message when no files where found on CachedDataSource setup

parent 944e3c82
......@@ -413,6 +413,7 @@ class CachedDataSource(DataSource):
) = getAllFilenames(filename, start_index, end_index)
if len(self.filenames) == 0:
logger.warn("No files found for %s" % filename)
return False
check_consistency(self.filenames, data_checksum_filenames)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment