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
4cc4ed77
Commit
4cc4ed77
authored
Jun 05, 2022
by
Hejing Li
Browse files
check whether there is socket to delete
for no_simbricks experiments
parent
94f1cf6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
experiments/simbricks/experiments.py
experiments/simbricks/experiments.py
+3
-1
No files found.
experiments/simbricks/experiments.py
View file @
4cc4ed77
...
@@ -292,7 +292,9 @@ class ExperimentBaseRunner(object):
...
@@ -292,7 +292,9 @@ class ExperimentBaseRunner(object):
scs
=
[]
scs
=
[]
for
(
exec
,
sock
)
in
self
.
sockets
:
for
(
exec
,
sock
)
in
self
.
sockets
:
scs
.
append
(
exec
.
rmtree
(
sock
))
scs
.
append
(
exec
.
rmtree
(
sock
))
await
asyncio
.
wait
(
scs
)
if
len
(
scs
):
await
asyncio
.
wait
(
scs
)
# add all simulator components to the output
# add all simulator components to the output
for
sim
,
sc
in
self
.
running
:
for
sim
,
sc
in
self
.
running
:
...
...
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