The .py file (scct.py) compares different ion channels (specified in .mod/.channel.nml files), listed in a .yaml file using NEURON as simulation environment.
The script can be run locally using python after installing NEURON
git clone https://github.com/borismarin/single-comp-channel-tester.git # clone GitHub repository
cd single-comp-channel-tester
python scct.py # will run the example file (Saraga.yaml), or:
python scct.py "filename.yaml"
Note: if you want to use the script only with .mod files, set nml=False in the code!
The example .yaml file (Saraga2003.yaml) compares the original .mod from Saraga et al. 2003 J Physiol 552(3):673-689 hippocampal CA1 O-LM interneuron with the NeuroML2 channel.nml version of the same model, hosted by OpenSourceBrain
Note: to use the script to compare .mod files with .nml files one has to install pyNeuroML and libNeuroML !