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

WIP: neuroml conversion #1

Open
wants to merge 61 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
98dbeba
feat: prepare repo for conversion
sanjayankur31 Apr 30, 2024
16f090e
feat(neuroml): add initially converted files
sanjayankur31 Apr 30, 2024
78f6f0b
feat: add converted Nap channel
sanjayankur31 Apr 30, 2024
9baa333
ci(omv): add omv test to validate nml files
sanjayankur31 Apr 30, 2024
c159937
ci: limit omv tests to validation only
sanjayankur31 May 1, 2024
3baa075
feat: add converted Ih channel
sanjayankur31 May 1, 2024
05530b2
chore: add more annotations to kv1
sanjayankur31 May 1, 2024
0d34e96
feat: add more annotations to kv3
sanjayankur31 May 1, 2024
3d97d7f
chore: add more annotations to kv4* channels
sanjayankur31 May 1, 2024
c84e3c7
chore: add annotation to nap
sanjayankur31 May 1, 2024
f9396be
wip: BK_slow
sanjayankur31 May 1, 2024
588871c
feat: add converted BK channel
sanjayankur31 May 2, 2024
fb3ab85
wip: vshift
sanjayankur31 May 2, 2024
7b27e23
chore: uncomment annotations
sanjayankur31 May 7, 2024
af7e8b0
wip: NaRSG
sanjayankur31 May 8, 2024
e9561bc
wip: Kv4f vshift
sanjayankur31 May 8, 2024
15b36ef
wip: narsg
sanjayankur31 May 13, 2024
d7e0231
feat: update kv3 to include vshift
sanjayankur31 May 13, 2024
8c319d5
Revert "wip: Kv4f vshift"
sanjayankur31 May 13, 2024
e05efa7
Revert "wip: vshift"
sanjayankur31 May 13, 2024
a37ad9b
chore: comment kv4f vshift
sanjayankur31 May 13, 2024
6b54aab
chore: comment kv4s vshift
sanjayankur31 May 13, 2024
0692c13
update narsg
sanjayankur31 May 13, 2024
0d04a87
wip: script to create tests for KS channels
sanjayankur31 May 14, 2024
02f7ca8
wip: ks channel tester
sanjayankur31 May 23, 2024
3b9363f
fix(narsg): corrections
sanjayankur31 May 28, 2024
48a4015
wip: channel tester
sanjayankur31 May 28, 2024
d942266
feat: ks test script seems complete
sanjayankur31 May 29, 2024
5ae4f35
feat: exclude extra state variables
sanjayankur31 Jun 3, 2024
a093d8b
feat: narsg conversion complete
sanjayankur31 Jun 4, 2024
0d77c1d
update figures
sanjayankur31 Jun 4, 2024
354244b
chore: create annotation for sk2
sanjayankur31 Jun 5, 2024
6304759
chore: use padraig's calcium clamp
sanjayankur31 Jun 5, 2024
fe14824
feat(sk2): complete conversion
sanjayankur31 Jun 5, 2024
5949b81
chore: correct annotations
sanjayankur31 Jun 5, 2024
867ccd5
feat: annotate mslo
sanjayankur31 Jun 7, 2024
8699056
feat(narsg): do not calculate qt explicitly
sanjayankur31 Jun 7, 2024
03afa13
wip: kmslo
sanjayankur31 Jun 7, 2024
d72985e
wip: kmslo
sanjayankur31 Jun 10, 2024
143f2ab
feat: mslo converted
sanjayankur31 Jun 12, 2024
186dbed
chore: move state plots to channel folder
sanjayankur31 Jun 13, 2024
4e92fad
wip: CaT
sanjayankur31 Jun 13, 2024
05f0bb3
wip: CaT
sanjayankur31 Jun 13, 2024
c0d8634
wip: CaT
sanjayankur31 Jun 18, 2024
8960d8e
feat: CaT converted
sanjayankur31 Jul 31, 2024
ffc1423
feat: add ghk cond density component type
sanjayankur31 Jul 31, 2024
787b509
wip: ghk test script
sanjayankur31 Jul 31, 2024
7d5a39c
feat: test script with new channel density component works
sanjayankur31 Aug 1, 2024
33dd0b9
ghk test: enable combined graph
sanjayankur31 Aug 1, 2024
d478eee
chore: plot calcium current also
sanjayankur31 Aug 6, 2024
8cfd1df
chore: also generate combined cai plots
sanjayankur31 Aug 6, 2024
189e78b
feat: CaT matches
sanjayankur31 Aug 7, 2024
b3263aa
feat: CaT done
sanjayankur31 Aug 7, 2024
4cd6c5c
feat: CaP channel converted
sanjayankur31 Aug 8, 2024
9ad0226
chore: rename channel density file
sanjayankur31 Aug 8, 2024
a6f43ab
feat: cap converted
sanjayankur31 Aug 8, 2024
b8f4ec6
feat: CaT complete
sanjayankur31 Aug 20, 2024
ff190de
fix(CaT): correct vshift
sanjayankur31 Aug 20, 2024
201f15e
feat: only export morphology, will include in cell
sanjayankur31 Aug 20, 2024
d9ce2b1
wip: full cell biophysics
sanjayankur31 Aug 20, 2024
36a29bd
wip: script to test single compartment cell with all biophysics
sanjayankur31 Aug 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/omv-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

name: Continuous build using OMV

on:
schedule:
- cron: "1 1 1 */2 *"
push:
branches: [ master, development, experimental ]
pull_request:
branches: [ master, development, experimental ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.10"]
#engine: [ jNeuroML_validate, jNeuroML_NEURON ]
engine: [ jNeuroML_validate]

steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install OMV
run: |
pip install OSBModelValidation
pip install scipy sympy matplotlib cython pandas tables

- name: Run OMV tests on engine ${{ matrix.engine }}
run: |
omv all -V --engine=${{ matrix.engine }}

- name: OMV final version info
run: |
omv list -V # list installed engines
env
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.dat
x86_64/
/NeuroML2/*.mod
*_nrn.py
*_eden.py

.mypy_cache/
/NeuroML2/tests/arm64
/NeuroML2/arm64

__pycache__/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions NeuroML2/.test.validate.omt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Script for running automated tests, see https://github.com/OpenSourceBrain/osb-model-validation
# This test will validate MOST all of the NeuroML 2 files in the current directory
target: "*.c*.nml"
engine: jNeuroML_validate
9 changes: 9 additions & 0 deletions NeuroML2/Purkinje.cell.nml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<neuroml xmlns="http://www.neuroml.org/schema/neuroml2" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.neuroml.org/schema/neuroml2 https://raw.github.com/NeuroML/NeuroML2/development/Schemas/NeuroML2/NeuroML_v2.3.1.xsd" id="ZangEtAl2018_Purkinje_cell_doc">
<include href="Purkinje.morph.cell.nml"/>
<cell id="ZangEtAl2018_Purkinje_Cell" morphology="Purkinje_cell_morph">
<biophysicalProperties id="biophys">
<membraneProperties/>
<intracellularProperties/>
</biophysicalProperties>
</cell>
</neuroml>
Loading
Loading