Commit e5156897 authored by Ahmad Reza Cheraghi's avatar Ahmad Reza Cheraghi
Browse files

Added scenario_name to the directory-name

parent 74e8dfb5
......@@ -40,6 +40,7 @@ def swarm_sim(argv):
mm_particle = config.getint("Matter", "particle_mm_size")
mm_tile= config.getint("Matter", "tile_mm_size")
mm_location=config.getint("Matter", "location_mm_size")
# tile_color_map = config.getboolean("Matter", "tile_color_map")
multiple_sim=0
......@@ -73,7 +74,7 @@ def swarm_sim(argv):
nTime = datetime.now().strftime('%Y-%m-%d_%H-%M-%S-%f')[:-1]
dir_name = nTime + "_" + solution_file.rsplit('.',1)[0] + "_" + \
dir_name = nTime + "_" + solution_file.rsplit('.',1)[0] + "_" + scenario_file.rsplit('.',1)[0] + "_" + \
str(seedvalue)
if multiple_sim == 1:
directory = "./outputs/mulitple/"+ act_date + "_" + scenario_file.rsplit('.',1)[0] + \
......
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