Skip to content
Snippets Groups Projects
Commit f807d1ce authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

paths needs to be a list

parent 5cf18a79
No related branches found
No related tags found
1 merge request!43add logging info to db_to_tfrecords
Pipeline #
...@@ -203,8 +203,8 @@ def main(argv=None): ...@@ -203,8 +203,8 @@ def main(argv=None):
biofiles = biofiles[start:end] biofiles = biofiles[start:end]
# filter the existing files # filter the existing files
paths = (make_output_path(output_dir, f.make_path("", "")) paths = [make_output_path(output_dir, f.make_path("", ""))
for f in biofiles) for f in biofiles]
indexes = non_existing_files(paths, force) indexes = non_existing_files(paths, force)
biofiles = [biofiles[i] for i in indexes] biofiles = [biofiles[i] for i in indexes]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment