Tool to run voltage clamp protocols in the NEURON Simulator against one or several .mod files.
To run a single Kv mod file, create a working directory:
mkdir -p /tmp/work
Go into the working directory:
cd /tmp/work
Then, assuming this repository is cloned under /tmp/icg-nrn-sim
, to run a single .mod file which is in /tmp/modfiles/modfile.mod
execute the following:
/tmp/icg-nrn-sim/runsingle.pl /tmp/modfiles/modfile.mod /tmp/icg-nrn-sim/kvconfig.in result
Again, assuming this repository is cloned under /tmp/icg-nrn-sim
, to run several .mod files which are in /tmp/modfiles
, execute the following:
/tmp/icg-nrn-sim/runbatch.pl /tmp/modfiles /tmp/icg-nrn-sim/kvconfig.in result
- The script copies several files to the directory it was called from, so this should be executed from a clean working directory.
- Currently, the mod file can not be inside the working directory you are calling the script from. It is enough to place it in a subdirectory, e.g. /tmp/work/