Skip to content

Commit

Permalink
Add force for async
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaehn committed Dec 19, 2023
1 parent d6f9b6c commit ae5627f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def run_chain(cfg, force, resume):
if cfg.is_async:
# Submit current chunk
for job in cfg.jobs:
if (log_finished_dir / job).exists():
if (log_finished_dir / job).exists() and not force:
# Skip job if already finished
print(f' └── Skip "{job}" for chunk "{cfg.job_id}"')
skip = True
Expand Down

0 comments on commit ae5627f

Please sign in to comment.