Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
01dbdc85
Commit
01dbdc85
authored
Jan 15, 2025
by
Jonas Kaufmann
Browse files
orchestration/simulation/Simulation: only prepare simulators that are in fragment
parent
c6bd2e8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
symphony/orchestration/simbricks/orchestration/simulation/base.py
.../orchestration/simbricks/orchestration/simulation/base.py
+1
-1
No files found.
symphony/orchestration/simbricks/orchestration/simulation/base.py
View file @
01dbdc85
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment