Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pgleeson opened this issue Feb 25, 2015 · 2 comments

Comments

@pgleeson
Copy link
Member

pgleeson commented Feb 25, 2015

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

  • install nC

  • clone ACNet2

  • open nC project in there in nC

  • generate Sim Config: Small network

  • save to NML1: tab Export -> NeuroML -> "Generate all NeuroML scripts" with "Generate single NML level 3 file" selected

  • close nC and find file, e.g. neuroConstruct/generatedNeuroML/L3Net_26-Aug-16_17-15-51.nml1

  • go to neuroConstruct installation folder

  • run:

    ./nC.sh -neuroml <path to nml1 file>
    
  • nC will open with everything in place

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
Copy link
Member Author

pgleeson commented Sep 6, 2016

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

@RokasSt
Copy link
Contributor

RokasSt commented Sep 6, 2016

@pgleeson okay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants