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

correct syntax

parent b066530f
No related branches found
No related tags found
1 merge request!33Changes to the biogenerator
......@@ -142,7 +142,9 @@ def make_output_path(output_dir, key):
def non_existing_files(paths, force=False):
if force:
return range(len(paths))
for i in range(len(paths)):
yield i
return
for i, path in enumerate(paths):
if not os.path.isfile(path):
yield i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment