From d68a4418f855ad59d3884f85ea91ac80dd36476a Mon Sep 17 00:00:00 2001 From: Michiel van der Ree Date: Thu, 24 Oct 2024 10:51:41 +0200 Subject: [PATCH] Fix Resolve and Map progress bars --- docetl/operations/map.py | 1 - docetl/operations/resolve.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/docetl/operations/map.py b/docetl/operations/map.py index 7073ff3e..60e8b9ec 100644 --- a/docetl/operations/map.py +++ b/docetl/operations/map.py @@ -236,7 +236,6 @@ def validation_fn(response: Dict[str, Any]): } results.append(result) total_cost += item_cost - pbar.update(i) if self.status: self.status.start() diff --git a/docetl/operations/resolve.py b/docetl/operations/resolve.py index fff71343..f0a68a44 100644 --- a/docetl/operations/resolve.py +++ b/docetl/operations/resolve.py @@ -449,8 +449,6 @@ def merge_clusters(item1, item2): if is_match_result: merge_clusters(pair[0], pair[1]) - pbar.update(i) - total_cost += pair_costs # Collect final clusters