Skip to content

Commit

Permalink
Bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSchuy committed Nov 9, 2017
1 parent 7df15a7 commit 616f119
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def main():
args = parser.parse_args()
if args.clean:
clean()
elif args.recover:
if args.recover:
timestamp = args.recover
elif args.timestamp:
timestamp = args.timestamp
Expand All @@ -139,6 +139,9 @@ def main():
else:
job_args = get_job_args(args.batch_size, args.evnt_dir, log_dir, tmp_dir, aod_dir)
dispatch_computations(job_args, args.test, args.local, tmp_dir, timestamp)

if args.test:
shutil.rmtree(log_dir)
shutil.rmtree(tmp_dir)
shutil.rmtree(aod_dir)
if __name__ == '__main__':
main()

0 comments on commit 616f119

Please sign in to comment.