eschombu wrote:What can and cannot be done with this "special" script?
Whatever doesn't need the GUI. And, if you simply include
load_file("nrngui.hoc")
in your hoc file, you can also do whatever needs the GUI.
I tried running my hoc code, which works through nrngui, but hit a syntax error when cvode.re_init() was called. It works with cvode statements all commented out.
That's news to me. Maybe you uncovered a bug. What's the minimal code that is required to elicit the error msg?
Also, one reason I wanted to run without the gui was to get rid of all the "first instance of [variable name]" output, but they are still there. Is there a way to suppress those?
Try wrapping offending code blocks in paired curly brackets
{
like this
}