From a5133b98fee32d4644581aa2db9c86895563378e Mon Sep 17 00:00:00 2001 From: jlnav Date: Mon, 11 Nov 2024 14:50:23 -0600 Subject: [PATCH] runners.py no longer calls setup() on gen --- libensemble/utils/runners.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libensemble/utils/runners.py b/libensemble/utils/runners.py index c7db42600..769e1a214 100644 --- a/libensemble/utils/runners.py +++ b/libensemble/utils/runners.py @@ -139,11 +139,6 @@ def _start_generator_loop(self, tag, Work, H_in): def _persistent_result(self, calc_in, persis_info, libE_info): """Setup comms with manager, setup gen, loop gen to completion, return gen's results""" self.ps = PersistentSupport(libE_info, EVAL_GEN_TAG) - if hasattr(self.gen, "setup"): - self.gen.persis_info = persis_info # passthrough, setup() uses the gen attributes - self.gen.libE_info = libE_info - if self.gen.thread is None: - self.gen.setup() # maybe we're reusing a live gen from a previous run # libE gens will hit the following line, but list_dicts_to_np will passthrough if the output is a numpy array H_out = list_dicts_to_np( self._get_initial_ask(libE_info), dtype=self.specs.get("out"), mapping=self.gen.variables_mapping