4 arguments = sys.argv[1:]
6 simulators = [
"nest",
"spinnaker",
"nmpm1",
"spikey"]
7 web_simulators = [
"NEST",
"SpiNNaker",
"BrainScaleS",
9 web_simulators_low = [
"nest",
"spinnaker",
"brainscales",
12 index = web_simulators_low.index(arguments[0].lower())
13 arguments[0] = simulators[index]
15 args_list = [
"./benchmark"]
16 args_list.extend(arguments)
19 subprocess.check_call(args_list)
22 for root, dirs, files
in os.walk(os.path.abspath(
"./")):
24 if not file.endswith(
'.json'):
25 os.remove(os.path.join(root, file))