Wiki » History » Version 9
Version 8 (Padraig Gleeson, 30 Apr 2014 14:57) → Version 9/13 (Padraig Gleeson, 30 Apr 2014 14:57)
Installation
------------ ============
To get a local copy of this project [install git](https://help.github.com/articles/set-up-git) and type:
git `git clone https://github.com/OpenSourceBrain/MorrisLecarModel.git https://github.com/OpenSourceBrain/MorrisLecarModel.git`
cd MorrisLecarModel/NeuroML2 `cd MorrisLecarModel/NeuroML2`
Test the project
---------------- ================
Install jNeuroML 2, NeuroML 2/libNeuroML, see [here](https://github.com/NeuroML/jNeuroML). [here](http://www.neuroml.org/neuroml2.php#libNeuroML). Remember to set the **JNML\_HOME** **NML2\_HOME** environment variable.
Run the [example cell](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/Run_MorrisLecar.xml) with:
jnml Run\_MorrisLecar.xml `nml2 Run_MorrisLecar.xml`
You should get the trace below (\*note: this is not identical to Figure 4 in [Morris & Lecar 1981](http://jaguar.biologie.hu-berlin.de/downloads/Fachkurs/SS2010/Morris_Lecar_1981.*) The definition in LEMS, [MorrisLecarCompType.nml](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/MorrisLecarCompType.nml), currently uses the formalism outlined [here](http://en.wikipedia.org/wiki/Morris%E2%80%93Lecar_model)):
![](morrislecar2.png)
------------ ============
To get a local copy of this project [install git](https://help.github.com/articles/set-up-git) and type:
git `git clone https://github.com/OpenSourceBrain/MorrisLecarModel.git https://github.com/OpenSourceBrain/MorrisLecarModel.git`
cd MorrisLecarModel/NeuroML2 `cd MorrisLecarModel/NeuroML2`
Test the project
---------------- ================
Install jNeuroML 2, NeuroML 2/libNeuroML, see [here](https://github.com/NeuroML/jNeuroML). [here](http://www.neuroml.org/neuroml2.php#libNeuroML). Remember to set the **JNML\_HOME** **NML2\_HOME** environment variable.
Run the [example cell](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/Run_MorrisLecar.xml) with:
jnml Run\_MorrisLecar.xml `nml2 Run_MorrisLecar.xml`
You should get the trace below (\*note: this is not identical to Figure 4 in [Morris & Lecar 1981](http://jaguar.biologie.hu-berlin.de/downloads/Fachkurs/SS2010/Morris_Lecar_1981.*) The definition in LEMS, [MorrisLecarCompType.nml](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/MorrisLecarCompType.nml), currently uses the formalism outlined [here](http://en.wikipedia.org/wiki/Morris%E2%80%93Lecar_model)):
![](morrislecar2.png)