Skip to content

Commit

Permalink
batch is considered finished if no batching
Browse files Browse the repository at this point in the history
  • Loading branch information
sgeulette committed Oct 2, 2024
1 parent 26a4003 commit 614f236
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Changelog

- Imported batch_delete_files from imio.pyutils if someone is yet using it from here.
[sgeulette]
- batch is considered finished if no batching.
[sgeulette]

1.0.1 (2024-09-18)
------------------
Expand Down
2 changes: 2 additions & 0 deletions src/imio/helpers/batching.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ def batch_globally_finished(batch_keys, config):
"""
# if not batch_keys:
# return True
if not config["bn"]: # no batching
return True
if config['lc'] == 0: # nothing treated
return True
elif config['fr']: # first run with results
Expand Down

0 comments on commit 614f236

Please sign in to comment.