Skip to content

Commit

Permalink
fix runtime exception
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Aug 1, 2024
1 parent 14d8201 commit 97a79e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rechunk/alg.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def main(
)

logger.info(
f"Leftover packages: {len(todo)}/{len(packages)} with a size of {sum([p.size for p in todo]) / 1e9:.3f} GB."
f"Leftover packages: {len(todo)}/{len(new_packages)} with a size of {sum([p.size for p in todo]) / 1e9:.3f} GB."
)
logger.info("Filling layers.")
# Legacy algorithm simulation
Expand All @@ -603,7 +603,7 @@ def main(
layers = fill_layers(todo, prefill, upd_matrix, max_layer_size=max_layer_size)
print_results(dedi_layers, prefill, layers, upd_matrix, result_fn)

new_labels, timestamp = get_labels(labels, version, manifest_json, version_fn, pretty)
new_labels, timestamp = get_labels(labels, version, manifest_json, version_fn, pretty, packages)

if contentmeta_fn:
dump_ostree_packages(
Expand Down

0 comments on commit 97a79e6

Please sign in to comment.