Commit 36b4b243 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Fix for bob.bio.video

parent 8203fdf9
......@@ -61,7 +61,10 @@ def preprocess(preprocessor, groups = None, indices = None, allow_missing_files
for i in index_range:
preprocessed_data_file = preprocessed_data_files[i]
file_object = data_files[i]
file_name = file_object.make_path(original_directory, original_extension)
if isinstance(file_object, list):
file_name = [f.make_path(original_directory, original_extension) for f in file_object]
else:
file_name = file_object.make_path(original_directory, original_extension)
# check for existence
if not utils.check_file(preprocessed_data_file, force, 1000):
......
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