Skip to content
Snippets Groups Projects
Commit 399daf51 authored by ferrari's avatar ferrari
Browse files

Fix iterator when all files are done

parent 8f22b7d1
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,6 @@ def main(args): ...@@ -81,7 +81,6 @@ def main(args):
done_file = open(args.done_file, 'a+') done_file = open(args.done_file, 'a+')
done_file.seek(0) done_file.seek(0)
file_list = [int(v) for v in done_file.read().split('\n') if len(v)] file_list = [int(v) for v in done_file.read().split('\n') if len(v)]
df = df[~df.ipassage.isin(file_list)]
overlap = False overlap = False
if not len(df): if not len(df):
df = pd.read_pickle(args.input) df = pd.read_pickle(args.input)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment