"...research_projects/multi_token_textual_inversion/README.md" did not exist on "19e559d5e91920e8637ba6391a6c42537b404d88"
Commit 4cc4ed77 authored by Hejing Li's avatar Hejing Li
Browse files

check whether there is socket to delete

for no_simbricks experiments
parent 94f1cf6c
...@@ -292,8 +292,10 @@ class ExperimentBaseRunner(object): ...@@ -292,8 +292,10 @@ 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))
if len(scs):
await asyncio.wait(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:
self.out.add_sim(sim, sc) self.out.add_sim(sim, sc)
......
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