Wiki » History » Version 12
Version 11 (Padraig Gleeson, 30 Apr 2014 14:57) → Version 12/13 (Padraig Gleeson, 14 Feb 2017 17:09)
github:README.md
Installation
------------
To get a local copy of this project [install git](https://help.github.com/articles/set-up-git) and type:
git clone https://github.com/OpenSourceBrain/MorrisLecarModel.git
cd MorrisLecarModel/NeuroML2
Test the project
----------------
Install jNeuroML 2, see [here](https://github.com/NeuroML/jNeuroML). Remember to set the **JNML\_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
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.xml](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/MorrisLecarCompType.xml), currently uses the formalism outlined [here](http://en.wikipedia.org/wiki/Morris%E2%80%93Lecar_model)):
![](morrislecar2.png)
Installation
------------
To get a local copy of this project [install git](https://help.github.com/articles/set-up-git) and type:
git clone https://github.com/OpenSourceBrain/MorrisLecarModel.git
cd MorrisLecarModel/NeuroML2
Test the project
----------------
Install jNeuroML 2, see [here](https://github.com/NeuroML/jNeuroML). Remember to set the **JNML\_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
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.xml](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/MorrisLecarCompType.xml), currently uses the formalism outlined [here](http://en.wikipedia.org/wiki/Morris%E2%80%93Lecar_model)):
![](morrislecar2.png)