From 28aee4cd3d21f42f81319fad3ed6939a3a87e7d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Wed, 9 Oct 2024 17:50:52 +0200 Subject: [PATCH] remove redundant prints --- src/hanabi/live/instance_finder.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hanabi/live/instance_finder.py b/src/hanabi/live/instance_finder.py index d9f2200..9e0a330 100644 --- a/src/hanabi/live/instance_finder.py +++ b/src/hanabi/live/instance_finder.py @@ -182,14 +182,12 @@ def solve_unknown_seeds(variant_id, variant_name: Optional[str] = None): ) res = database.cur.fetchall() data = [] - print("processing decks... ", end='') for (seed, num_players, suits, ranks) in res: assert len(suits) == len(ranks) deck = [] for (suit, rank) in zip(suits, ranks): deck.append(hanabi.hanab_game.DeckCard(suit, rank)) data.append((seed, num_players, deck)) - print("done.") with concurrent.futures.ProcessPoolExecutor(max_workers=MAX_PROCESSES) as executor: fs = [executor.submit(solve_seed, d[0], d[1], d[2], variant_name) for d in data]