NeuralEnsemble / neuroConstruct

neuroConstruct: biophysically detailed neuronal modelling in 3D
http://www.neuroconstruct.org
GNU General Public License v2.0
48 stars 23 forks source link

Add commandline/menu item option for import of NeuroML2 files containing cells, synapses, channel or networks #47

Open pgleeson opened 9 years ago

pgleeson commented 9 years ago

A NeuroML2 reader class has been implemented here:

https://github.com/NeuralEnsemble/neuroConstruct/blob/master/src/ucl/physiol/neuroconstruct/neuroml/NeuroML2Reader.java

This is currently used for importing networks in NeuroML2 format.

This file should be made more general (for importing channels & synapses in NML2) and should be accessible via the main file menu as well as the command line:

 ./nC.sh -neuroml2 MyNetInNeuroML2.net.nml

This is currently possible for NeuroML v1; all cells, channels, the network can be extracted from an NML1 file & placed in the correct location in the nC project. To reproduce this, try with the ACNet2 project: https://github.com/OpenSourceBrain/ACnet2

This sequence should be possible also for NeuroML 2 files...

Main entry point for application: https://github.com/NeuralEnsemble/neuroConstruct/blob/master/src/ucl/physiol/neuroconstruct/gui/MainApplication.java

pgleeson commented 8 years ago

@RokasSt can you open a PR to this branch when you've got something for me to test? Thanks.

RokasSt commented 8 years ago

@pgleeson okay