#!/bin/bash

cell=C170797A-P1
IS=0
prop_site=0
#main axon 0 1 2 3

extstim=6
junction=6

#extstim=5 -collateral not long enough
#junction=5

#extstim=4 - collateral not long enough
#junction=4

qsub -N vs_${cell}_${extstim} -l h_rt=24:00:00 -b y -shell n x86_64/special -nogui simulation_base.hoc -c "set_generic_arg(\"$cell\",$IS,$prop_site,$extstim,$junction)" vs-generic_cutoff.hoc