import sys
import os
attrs = 'python3 sim_mmns_2pm_sep_noISDIDD_savespikesonly.py 40 0.3 150 130 17.5 30.0 80.0 5.827500000000001 9.99 26.64 25.0 25.0 1000 0.0 0.95 10.0 10.0 10.0 250.0'.split(' ')
if len(sys.argv) > 1:
attrs = sys.argv[1:]
mystr = ' '.join(attrs)
mychanges = [[[1], 'sim_mmns_2pm_sep_noISDIDD_savespikesonly_limtau_delays.py']]
myadds = [' 1',' 2',' 3',' 4',' 5',' 6',' 7',' 8',' 9', ' 10']
for mydelay in [0.0,1.0,2.0,5.0]:
for ichange in range(0,len(mychanges)):
these_attrs = attrs[:]
if type(mychanges[ichange][0]) is list:
for imany in range(0,len(mychanges[ichange][0])):
these_attrs[mychanges[ichange][0][imany]] = mychanges[ichange][1]
else:
these_attrs[mychanges[ichange][0]] = mychanges[ichange][1]
this_str = ' '.join(these_attrs)
this_str = this_str+' '+str(mydelay)
for iadd in range(0,len(myadds)):
this_str_2 = this_str + myadds[iadd]
print(this_str_2)
os.system(this_str_2)