Commit 2307f679 authored by Ahmad Reza Cheraghi's avatar Ahmad Reza Cheraghi
Browse files

Updated run.py for multiple running

parent e5f30b4a
......@@ -77,7 +77,8 @@ def swarm_sim(argv):
dir_name = nTime + "_" + solution_file.rsplit('.',1)[0] + "_" + \
str(seedvalue)
if multiple_sim == 1:
directory = "./outputs/mulitple/"+ act_date + "/" + str(seedvalue)
directory = "./outputs/mulitple/"+ act_date + "_" + scenario_file.rsplit('.',1)[0] + \
"_"+solution_file.rsplit('.',1)[0] + "/" + str(seedvalue)
else:
directory = "./outputs/" + dir_name
if not os.path.exists(directory):
......
Supports Markdown
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