From 508e64b912842d936f71c94d9e6262c0b1196a1f Mon Sep 17 00:00:00 2001 From: Ishaan Desai Date: Wed, 31 Jan 2024 15:45:43 +0100 Subject: [PATCH] Cleanup --- micro_manager/adaptivity/global_adaptivity.py | 3 --- tests/unit/test_adaptivity_parallel.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/micro_manager/adaptivity/global_adaptivity.py b/micro_manager/adaptivity/global_adaptivity.py index 5899d09e..5ffaa949 100644 --- a/micro_manager/adaptivity/global_adaptivity.py +++ b/micro_manager/adaptivity/global_adaptivity.py @@ -61,9 +61,6 @@ def __init__( if self._rank_of_sim[i] == self._rank: self._is_sim_on_this_rank[i] = True - print("Rank {}: is_sim_on_this_rank = {}".format(self._rank, self._is_sim_on_this_rank)) - print("Rank {}: rank_of_sim = {}".format(self._rank, self._rank_of_sim)) - def compute_adaptivity( self, dt: float, diff --git a/tests/unit/test_adaptivity_parallel.py b/tests/unit/test_adaptivity_parallel.py index a85cc6ca..6337eaba 100644 --- a/tests/unit/test_adaptivity_parallel.py +++ b/tests/unit/test_adaptivity_parallel.py @@ -99,7 +99,7 @@ def test_communicate_micro_output(self): adaptivity_controller = GlobalAdaptivityCalculator( configurator, MagicMock(), - 6, + 5, global_ids, rank=self._rank, comm=self._comm)