#!/bin/bash

cell=C271097A-P2
IS=0
prop_site=27
#main axon 0 2 12 13 17 27 28 32 34

extstim=1
junction=1

#extstim=8
#junction=3

#extstim=40
#junction=36

#extstim=22
#junction=18

#extstim=35
#junction=35

for comps in 1,1 8,3 40,36 22,18 35,35 
do
qsub -N vs_${cell}_${comps} -l h_rt=24:00:00 -b y x86_64/special -nogui simulation_base.hoc -c "set_generic_arg\(\\\"$cell\\\",$IS,$prop_site,$comps\)" vs-generic_cutoff.hoc
done