OpenSourceBrain / OpenSourceBrain/NetPyNEShowcase

Test pipeline NetPyNE-> NeuroML-> other simulators...

Open
#2 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

@salvadord was asking about options for examples of models built in NetPyNE, converted to NeuroML and then run successfully in another simulator. For various reasons EDEN is currently the best option for trying this.

I've added various OMV tests for running the generated NeuroML equivalents of NetPyNE models in EDEN, and the results are good so far. See test files ending jnmleden.omt here, the results of these are at https://github.com/OpenSourceBrain/NetPyNEShowcase/runs/6374237602?check_suite_focus=true.

As an example this: https://github.com/OpenSourceBrain/NetPyNEShowcase/blob/master/NetPyNE/HybridSmall/HybridSmall.py builds a small net with HH & Izhikevich cells, it gets generated to NML here: https://github.com/OpenSourceBrain/NetPyNEShowcase/blob/master/NeuroML2/HybridSmall.net.nml (see here for generating script).
The LEMS simulation file generated also (https://github.com/OpenSourceBrain/NetPyNEShowcase/blob/master/NeuroML2/LEMS_HybridSmall.xml) can be used to generate a Python script which loads the NML using the latest jnml or pynml:

jnml LEMS_HybridSmall.xml  -eden
# or ...
pynml LEMS_HybridSmall.xml  -eden

# then ...
python LEMS_HybridSmall_eden.py

This is what gets tested in OMV files like: https://github.com/OpenSourceBrain/NetPyNEShowcase/blob/master/NeuroML2/.test.hyizh.jnmleden.omt

cc @spanag

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing OMV test files ending in jnmleden.omt under NeuroML2, the generated LEMS_HybridSmall.xml, and regenerateAndTest.sh. Run the documented jnml or pynml EDEN commands and inspect the linked workflow results; completion is not defined in the issue beyond validating generated NeuroML models in EDEN.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.