"src/git@developer.sourcefind.cn:Fzc7075/nunchaku.git" did not exist on "2f9b307c29a942878cd85c031a4414b2696c95e1"
Commit 01dbdc85 authored by Jonas Kaufmann's avatar Jonas Kaufmann
Browse files

orchestration/simulation/Simulation: only prepare simulators that are in fragment

parent c6bd2e8e
...@@ -490,7 +490,7 @@ class Simulation(utils_base.IdObj): ...@@ -490,7 +490,7 @@ class Simulation(utils_base.IdObj):
async def prepare(self, inst: inst_base.Instantiation) -> None: async def prepare(self, inst: inst_base.Instantiation) -> None:
promises = [] promises = []
for sim in self._sim_list: for sim in inst.fragment.all_simulators():
promises.append(sim.prepare(inst=inst)) promises.append(sim.prepare(inst=inst))
await asyncio.gather(*promises) await asyncio.gather(*promises)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment