hello every one i would like to know how i can make bench recognize my new model. i have recompiled opencarp with my new model GPVm as in the tutorial, the model was added as a plug-in in imp-list, when i compile it with bench it was working but, when i wrote a script with the same bench command or when i wanted to loaded it in tissue i got this error "Illegal IMP specified: GPVm", can someone help plaese! i mean :
bench -- imp GPVm : is working
but in run.py(my script) i wrote this :cmd = [settings.execs.BENCH,
'--duration', args.duration,
'--stim-assign', 'on']
cmd += ['--imp={}'.format(args.EP)] :
the output is:
usr/local/bin/bench /usr/local/bin/bench \
--duration 500 \
--stim-assign on \
--imp=GPVm \
--stim-curr 30.0 \
--numstim 2 \
--bcl 500 \
--dt 0.01 \
--dt-out 0.1 \
--save-ini-file None_GPVm_bcl_500_ms_dur_500_ms.sv \
--save-ini-time 500 \
--fout=exp_GPVm__bcl_500_ms_duration_500_ms/GPVm \
--bin \
-v
then i got illegal imp