Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
695 commits
Select commit Hold shift + click to select a range
40ba536
perf(vispy-plotting): use single `Marker` object for all spheres
sanjayankur31 Mar 14, 2023
52760d5
feat(vispy): expose theme setting to all methods
sanjayankur31 Mar 14, 2023
27b8dd0
feat(vispy): implement rotation for Turntable camera
sanjayankur31 Mar 14, 2023
4e71eda
chore: complete comment
sanjayankur31 Mar 14, 2023
9ef580e
chore: format with black
sanjayankur31 Mar 14, 2023
8376d1f
chore: format with black
sanjayankur31 Mar 14, 2023
01234a3
test: mark vispy tests to disable them on GitHub CI
sanjayankur31 Mar 14, 2023
1d1c63d
improvement(3d-plotting): remove edge for spheres
sanjayankur31 Mar 15, 2023
d1c8e42
chore: remove print statement
sanjayankur31 Mar 15, 2023
332bb56
test(modchananalysis): test to check that nrnivmodl is run when required
sanjayankur31 Mar 20, 2023
b39c102
Merge pull request #217 from NeuroML/issue202-add-tests
sanjayankur31 Mar 21, 2023
9803a10
Merge branch 'development' into experimental
pgleeson Mar 22, 2023
6d7e45e
Tweak test script to pip install
pgleeson Mar 22, 2023
c3fbc26
fix: only test validation of valid files
sanjayankur31 Mar 22, 2023
e5f3ec4
chore(gitignore): ignore `*.neux`
sanjayankur31 Mar 22, 2023
91741ec
Merge branch 'development' into experimental
pgleeson Mar 22, 2023
333634a
Ignore arm64 dir on new mac chip
Apr 12, 2023
b16923b
Merge branch 'development' into feat/more-morphplots
sanjayankur31 Apr 18, 2023
9e895a2
feat(utils): add method to rotate a cell
sanjayankur31 Apr 18, 2023
1137f21
test(util): test cell rotation
sanjayankur31 Apr 18, 2023
3628b88
fix(cell-rotate): correct z rotation
sanjayankur31 Apr 19, 2023
77c6ec4
test(cell-rotate): add unit test
sanjayankur31 Apr 19, 2023
ed325ca
chore(utils): reduce logging level to info
sanjayankur31 Apr 21, 2023
ef9fb72
Merge branch 'development' into experimental
pgleeson Apr 24, 2023
7e9d006
chore(cell-rotate): improve info print
sanjayankur31 Apr 24, 2023
7425c58
Merge branch 'experimental' of github.com:NeuroML/pyNeuroML into expe…
pgleeson Apr 25, 2023
b1bcd16
Merge pull request #216 from NeuroML/issue202
pgleeson May 2, 2023
a668aac
Merge branch 'development' into experimental
pgleeson May 2, 2023
cbc0a30
Merge branch 'experimental' of github.com:NeuroML/pyNeuroML into expe…
pgleeson May 2, 2023
0c6922f
Merge branch 'feat/more-morphplots' into experimental
pgleeson May 2, 2023
c1095a6
Merge pull request #213 from NeuroML/feat/more-morphplots
pgleeson May 3, 2023
f1e61b0
Merge branch 'development' into experimental
pgleeson May 3, 2023
3194a9e
Fix some issues with plot (was using marker='o' by default)
pgleeson May 3, 2023
94e5108
Test without argparse requirement
pgleeson May 3, 2023
0e4cbf3
Add plot spike support for nest 3.0 spiketime files
pgleeson May 4, 2023
59298e7
Merge branch 'master' into experimental
pgleeson May 4, 2023
93a4cc1
Merge branch 'experimental' of github.com:NeuroML/pyNeuroML into expe…
pgleeson May 4, 2023
04d747c
chore(plotting): note that `theme` is not used for 2d
sanjayankur31 May 4, 2023
a77c505
feat(plotting): use lowecase for plot types
sanjayankur31 May 4, 2023
22dbdfd
chore: regenerate man pages
sanjayankur31 May 4, 2023
e7a0ca6
Merge pull request #221 from NeuroML/experimental
sanjayankur31 May 4, 2023
a76004c
Merge branch 'development' into feat/update-plotting-220
sanjayankur31 May 4, 2023
1d25aae
chore: regen man
sanjayankur31 May 4, 2023
8607526
Merge branch 'development' into feat/cell-rotation
sanjayankur31 May 4, 2023
af3ff6d
Merge pull request #222 from NeuroML/feat/update-plotting-220
pgleeson May 4, 2023
7378e40
Fix for reloading saved spike data
pgleeson May 4, 2023
4ab36ad
Merge pull request #223 from NeuroML/experimental
sanjayankur31 May 5, 2023
74cecbc
To v1.0.1; update to use latest jnml jar v0.12.2
pgleeson May 9, 2023
f65320f
chore: regenerate man pages
sanjayankur31 May 10, 2023
b4130c5
chore: update schema version in templates
sanjayankur31 May 10, 2023
8093180
fix: add rtd config file
sanjayankur31 May 10, 2023
0e7d7aa
fix(rtd): update config to mention requirements
sanjayankur31 May 10, 2023
25dbe59
fix: add to docs reqs
sanjayankur31 May 10, 2023
d01ef27
Merge pull request #226 from NeuroML/feat/update-man-pages
pgleeson May 11, 2023
aceaaef
Latest jar with verbose validation
pgleeson May 11, 2023
8f02a8c
Merge pull request #227 from NeuroML/experimental
pgleeson May 11, 2023
c37222f
Add .github/workflows/python-publish.yml
pgleeson May 11, 2023
8615c10
setup.py format preferred by pypi
pgleeson May 11, 2023
1deac49
To v1.0.2
pgleeson May 12, 2023
59e5b2d
Merge pull request #228 from NeuroML/experimental
pgleeson May 12, 2023
b7c4edd
To v1.0.3
pgleeson May 12, 2023
e892279
Merge branch 'experimental' into development
pgleeson May 12, 2023
e6d8a1c
Install pyelectro & neurotune from pypi
pgleeson May 12, 2023
c904752
Bump to v1.0.4
pgleeson May 15, 2023
4b0efdb
Merge pull request #229 from NeuroML/experimental
pgleeson May 15, 2023
2ee002c
Update required versions libnml & nmllite & to v1.0.5
pgleeson May 15, 2023
63ec404
Merge branch 'experimental' into development
pgleeson May 15, 2023
67f0c48
To v1.0.6; neurotune now manages the version of inspyred
pgleeson May 15, 2023
f30ad29
Install correct inspyred in ci
pgleeson May 15, 2023
9718309
Install inspyred first
pgleeson May 15, 2023
4003404
Merge pull request #230 from NeuroML/experimental
pgleeson May 15, 2023
307b01a
To v1.0.7; remove inspyred from setup.py all reqs
pgleeson May 15, 2023
0f99a51
Merge pull request #231 from NeuroML/experimental
pgleeson May 15, 2023
815f408
Merge branch 'development' into feat/cell-rotation
sanjayankur31 May 16, 2023
446ff42
To v1.0.8; Catches import of vispy so won't fail if not installed.
pgleeson May 16, 2023
8b2d46f
Merge pull request #232 from NeuroML/experimental
pgleeson May 17, 2023
5e972b6
Merge branch 'development' into feat/cell-rotation
sanjayankur31 May 19, 2023
09046ad
chore: remove deprecated setup.py
sanjayankur31 Jun 14, 2023
6a45d78
fix: replace setup.py in test
sanjayankur31 Jun 14, 2023
e194e96
fix: include all package data files
sanjayankur31 Jun 14, 2023
544da48
fix(ci): install inspyred from git
sanjayankur31 Jun 14, 2023
d40cb67
chore: clean up deps
sanjayankur31 Jun 14, 2023
8b091d1
chore: remove setup.py from docs
sanjayankur31 Jun 14, 2023
d828fa4
fix(setup.cfg): mark readme as markdown
sanjayankur31 Jun 26, 2023
ad97580
chore(setup.cfg): remove license from long desc
sanjayankur31 Jun 26, 2023
10f1de8
feat(generate-if-curve): allow specifying segment and fraction along
sanjayankur31 Jul 4, 2023
d0f044a
Merge pull request #235 from NeuroML/feat/if-curve-allow-specifying-s…
sanjayankur31 Jul 5, 2023
11fa964
feat(if-curve): save spike threshold current value also
sanjayankur31 Jul 7, 2023
41eeb8d
feat(plot_2D): allow method to accept a neuroml document or cell object
sanjayankur31 Jul 7, 2023
831bf6a
feat(plot_3D): allow methods to accept NeuroMLDocument and Cell objects
sanjayankur31 Jul 7, 2023
ff4ddae
refactor(vispy)!: split out vispy viewer into separate module
sanjayankur31 Jul 7, 2023
53b4cad
feat(plotly)!: move plotly bits to different module
sanjayankur31 Jul 7, 2023
b384ef6
feat: make plotly extra requirement
sanjayankur31 Jul 7, 2023
754bb2a
chore(test): update imports
sanjayankur31 Jul 7, 2023
61d27b3
fix(archive): pass full file path for included LEMS files
sanjayankur31 Jul 10, 2023
c7830df
feat(morph-plot): add included cells
sanjayankur31 Jul 11, 2023
31abfaf
fix(matplotlib-morphplot): ensure that title is set in figure
sanjayankur31 Jul 12, 2023
825b067
feat(pynml-netpyne): allow netpyne runner to also return command output
sanjayankur31 Jul 13, 2023
ce1c4c0
docs: add @pgleeson as a contributor
sanjayankur31 Jul 13, 2023
0e0d618
docs: add @sanjayankur31 as a contributor
sanjayankur31 Jul 13, 2023
27c3c94
docs: update @pgleeson as a contributor
sanjayankur31 Jul 13, 2023
76d1b68
docs: add @borismarin as a contributor
sanjayankur31 Jul 13, 2023
cf95e19
docs: add @rgerkin as a contributor
sanjayankur31 Jul 13, 2023
1d86541
docs: add @lungd as a contributor
sanjayankur31 Jul 13, 2023
d0231e1
docs: add @mwatts15 as a contributor
sanjayankur31 Jul 13, 2023
a1ac652
docs: add @ccluri as a contributor
sanjayankur31 Jul 13, 2023
db94e23
docs: add @34383c as a contributor
sanjayankur31 Jul 13, 2023
0eda740
docs: add @jrieke as a contributor
sanjayankur31 Jul 13, 2023
4e4a946
docs: add @andrisecker as a contributor
sanjayankur31 Jul 13, 2023
02234b0
docs: add @RokasSt as a contributor
sanjayankur31 Jul 13, 2023
6c58dcd
docs: update @pgleeson as a contributor
sanjayankur31 Jul 13, 2023
19b3513
docs: update @sanjayankur31 as a contributor
sanjayankur31 Jul 13, 2023
a0bed4b
docs: update @pgleeson as a contributor
sanjayankur31 Jul 13, 2023
3a9bcb4
docs: update @pgleeson as a contributor
sanjayankur31 Jul 13, 2023
514d929
docs: update @sanjayankur31 as a contributor
sanjayankur31 Jul 13, 2023
bc46ec5
docs: update @RokasSt as a contributor
sanjayankur31 Jul 13, 2023
b659d19
docs: update @andrisecker as a contributor
sanjayankur31 Jul 13, 2023
93f5462
docs: update @jrieke as a contributor
sanjayankur31 Jul 13, 2023
22da94d
docs: update @34383c as a contributor
sanjayankur31 Jul 13, 2023
20d654c
docs: update @mwatts15 as a contributor
sanjayankur31 Jul 13, 2023
7dc3eaa
docs: update @ccluri as a contributor
sanjayankur31 Jul 13, 2023
1afeb6a
docs: update @lungd as a contributor
sanjayankur31 Jul 13, 2023
db6637c
docs: update @borismarin as a contributor
sanjayankur31 Jul 13, 2023
f322b69
docs: update @rgerkin as a contributor
sanjayankur31 Jul 13, 2023
e93dd32
chore: move contributor badge to end
sanjayankur31 Jul 13, 2023
8f93f81
Merge branch 'chore/remove-deprecated-setup.py' into feat/pynml-netpy…
sanjayankur31 Jul 13, 2023
4935fdb
feat: bump version for jneuroml-netpyne runner update
sanjayankur31 Jul 13, 2023
df8619c
feat: add pre-commit configuration
sanjayankur31 Jul 17, 2023
87cff55
Merge branch 'chore/remove-deprecated-setup.py' into feat/chan-den-an…
sanjayankur31 Jul 17, 2023
28460ba
feat!: move method to util module
sanjayankur31 Jul 17, 2023
1dea146
feat!: remove more general methods to utils
sanjayankur31 Jul 17, 2023
7d5a767
wip
sanjayankur31 Jul 20, 2023
97237e9
chore(ci): bump GH action versions
sanjayankur31 Jul 26, 2023
1c33c44
Merge branch 'chore/remove-deprecated-setup.py' into feat/nsgr-integr…
sanjayankur31 Jul 27, 2023
772bf19
feat: add method to get files modified after particular time
sanjayankur31 Jul 27, 2023
ed76785
Merge branch 'chore/remove-deprecated-setup.py' into feat/nsgr-integr…
sanjayankur31 Jul 27, 2023
143d5be
fix: correct type annotations for py<3.9
sanjayankur31 Jul 27, 2023
f29e5bc
feat(pynml): add wrapper runner method
sanjayankur31 Jul 28, 2023
fd10ee8
fix(pynml): pass both args and kwargs
sanjayankur31 Jul 28, 2023
03f2b04
chore: remove unused import
sanjayankur31 Jul 28, 2023
559f27c
feat(setup): add extra for nsgr
sanjayankur31 Jul 28, 2023
4992245
chore(pynml): print engine in use
sanjayankur31 Jul 28, 2023
23ea089
feat(nsgr): initial implementation of method to submit jobs to NSG
sanjayankur31 Jul 28, 2023
b656744
feat(nsgr): remove any existing mod files
sanjayankur31 Jul 28, 2023
de82e0d
feat(nsgr): add dry run mode
sanjayankur31 Jul 28, 2023
ece8d4f
feat(nsgr): bump version and note version added
sanjayankur31 Jul 28, 2023
e2cc1f6
Merge pull request #234 from NeuroML/chore/remove-deprecated-setup.py
pgleeson Aug 2, 2023
a7a50bc
Merge pull request #233 from NeuroML/chore/remove-deprecated-setup.py
pgleeson Aug 2, 2023
2c5669d
Merge pull request #240 from NeuroML/feat/add-all-contributors
pgleeson Aug 2, 2023
5b1ef7a
Merge remote-tracking branch 'origin/development' into feat/chan-den-…
sanjayankur31 Aug 7, 2023
852236e
Merge remote-tracking branch 'origin/development' into feat/plotting-…
sanjayankur31 Aug 7, 2023
cb1bd58
fix: import copy module
sanjayankur31 Aug 7, 2023
0bcaf4f
fix(plot-morph): correct automated title generation
sanjayankur31 Aug 7, 2023
ed637a1
chore: correct typing annotation
sanjayankur31 Aug 7, 2023
60bae99
feat(channel-density-plot): complete getting list of channel densities
sanjayankur31 Aug 7, 2023
4ad8206
test(channel-density-plot): init test
sanjayankur31 Aug 7, 2023
0631d22
Merge branch 'development' into experimental
pgleeson Aug 8, 2023
bea5cdb
feat(channel-density-plot): implement cond density for uniform channe…
sanjayankur31 Aug 8, 2023
5e99bc6
Test removing argparse
pgleeson Aug 8, 2023
ba56899
feat(chan-den-plot): limit cond den to each chan density
sanjayankur31 Aug 8, 2023
5a40aee
Merge pull request #244 from NeuroML/experimental
sanjayankur31 Aug 8, 2023
8294f07
feat(chan-den-plots): implement calculation for non uniform channel d…
sanjayankur31 Aug 8, 2023
f09ab34
feat(deps): add sympy as extra dep
sanjayankur31 Aug 8, 2023
a408eaf
feat(chan-dens-plots): implemented plotting individual channel densities
sanjayankur31 Aug 8, 2023
f9bef23
feat(plot-2d-morph): show single value tick when overlay data is sing…
sanjayankur31 Aug 9, 2023
5297b5a
feat(get-chan-density): complete implementing function
sanjayankur31 Aug 9, 2023
72c7efd
feat(chan-dens-plot): finish implementing plotting of channel densities
sanjayankur31 Aug 9, 2023
ecfd4c1
Merge branch 'feat/cell-rotation' into experimental
pgleeson Aug 9, 2023
b1330c9
Bump to v1.0.9
pgleeson Aug 9, 2023
30c3327
feat(tests): update L23 cell files
sanjayankur31 Aug 9, 2023
d3eb58a
feat(chan-den-plots): implement grouped plotting for an ion channel
sanjayankur31 Aug 9, 2023
4b195ce
test(chan-dens): test plotting for ion channels
sanjayankur31 Aug 9, 2023
3aa68ed
More pronounced cell for tetsing rotation
pgleeson Aug 9, 2023
d150ac0
Merge branch 'feat/if-curve-threshold-current' into experimental
pgleeson Aug 9, 2023
d1c55b0
feat(chan-den-plot): generate all ion channel plots if no args given
sanjayankur31 Aug 9, 2023
23aec88
test(chan-den-plots): test generating all plots
sanjayankur31 Aug 9, 2023
ccb6783
Test saving if data
pgleeson Aug 9, 2023
4140b29
Merge branch 'feat/plotting-also-take-nmldocs' into experimental
pgleeson Aug 9, 2023
c657bbc
refactor(channelanalsysis): remove duplicated method
sanjayankur31 Aug 9, 2023
3e16281
Merge branch 'development' into feat/pynml-netpyne-return-string
pgleeson Aug 9, 2023
bea78a7
feat(pynml-plotchan): add new entry point
sanjayankur31 Aug 9, 2023
d2d0c03
Merge branch 'development' into feat/pynml-netpyne-return-string
pgleeson Aug 9, 2023
6736406
Merge branch 'feat/pynml-netpyne-return-string' into experimental
pgleeson Aug 9, 2023
e6f86c0
feat: update man pages
sanjayankur31 Aug 9, 2023
295b0f0
fix(morph-plot): provide axis to colorbar
sanjayankur31 Aug 9, 2023
ee2e091
Merge pull request #245 from NeuroML/experimental
pgleeson Aug 9, 2023
abb48aa
feat: remove redundant function definitions
sanjayankur31 Aug 9, 2023
bd82663
chore: remove duplicate function definition
sanjayankur31 Aug 9, 2023
e3e34f1
chore: clean up imports
sanjayankur31 Aug 9, 2023
54b3122
Merge remote-tracking branch 'origin/development' into feat/chan-den-…
sanjayankur31 Aug 9, 2023
c7a7f39
Merge pull request #246 from NeuroML/experimental
pgleeson Aug 9, 2023
b67aa29
To v1.0.10; removed 'experimental' build config, uses 'dev' as develo…
pgleeson Aug 10, 2023
2383c36
Merge branch 'experimental' of github.com:NeuroML/pyNeuroML into expe…
pgleeson Aug 10, 2023
59e0469
Merge remote-tracking branch 'origin/development' into feat/chan-den-…
sanjayankur31 Aug 10, 2023
a7e2680
chore: update versionadded info, regenerate man pages
sanjayankur31 Aug 10, 2023
01dae18
Merge remote-tracking branch 'origin/experimental' into feat/chan-den…
sanjayankur31 Aug 10, 2023
a696733
chore: update versionadded info and regen man pages
sanjayankur31 Aug 10, 2023
b8d5015
Merge pull request #247 from NeuroML/experimental
pgleeson Aug 10, 2023
145e916
Merge remote-tracking branch 'origin/development' into feat/chan-den-…
sanjayankur31 Aug 11, 2023
8308901
feat(chan-den-plot-cli): allow disabling distance plot generation
sanjayankur31 Aug 11, 2023
7da08ed
feat(chan-den-plots): use cell id in plot name
sanjayankur31 Aug 11, 2023
009ae44
chore(chan-den-plot): close plots after saving if gui not to be shown
sanjayankur31 Aug 11, 2023
3b2bf16
chore: regen man page
sanjayankur31 Aug 11, 2023
2a2e836
feat(morph-plots): improve colouring of cells/groups in schematic plot
sanjayankur31 Aug 11, 2023
c089a73
feat(pynml): include more info in version
sanjayankur31 Aug 16, 2023
cde71e3
Merge branch 'development' into feat/nsgr-integration
sanjayankur31 Aug 17, 2023
ecee677
feat(archive): minor type/arg fixes
sanjayankur31 Aug 17, 2023
648170d
feat(utils): add function to generate a temporary directory name
sanjayankur31 Aug 17, 2023
f285a62
feat(nsgr): complete nsgr submission function
sanjayankur31 Aug 17, 2023
db18bfd
test: fix method call
sanjayankur31 Aug 17, 2023
53de3fb
fix(vispy-morph): get title from cell object if no network is found
sanjayankur31 Sep 13, 2023
c1d89d6
feat(nsgr): recreate directory structure in tempdir
sanjayankur31 Sep 13, 2023
7811e3b
feat(pynml): throw error if no appropriate engine is found
sanjayankur31 Sep 15, 2023
1da05a9
fix(plots): provide axis for colorbar
sanjayankur31 Sep 17, 2023
60613af
Merge pull request #252 from NeuroML/fix/matplotlib-3.8
sanjayankur31 Sep 18, 2023
1787d51
Merge branch 'development' into feat/nsgr-integration
sanjayankur31 Sep 18, 2023
4a4ac0f
Merge pull request #251 from NeuroML/fix/get-title-from-cell
sanjayankur31 Sep 18, 2023
d666f35
Merge branch 'development' into feat/nsgr-integration
sanjayankur31 Sep 18, 2023
e8d3b47
chore(morph-plots): change default type to "detailed"
sanjayankur31 Sep 18, 2023
17c1b74
Merge branch 'development' into feat/nsgr-integration
sanjayankur31 Sep 18, 2023
55505c7
Merge pull request #248 from NeuroML/feat/improve-schematic-morph-plots
sanjayankur31 Sep 18, 2023
1a32a1e
Merge pull request #249 from NeuroML/feat/make-version-more-informative
sanjayankur31 Sep 18, 2023
f76928a
Merge branch 'development' into feat/chan-den-analysis
sanjayankur31 Sep 18, 2023
8e51c38
fix(chan-den-plots): handle `H` function
sanjayankur31 Sep 18, 2023
c0b1123
chore: add TODO
sanjayankur31 Sep 18, 2023
dff7e89
Merge pull request #242 from NeuroML/feat/chan-den-analysis
sanjayankur31 Sep 18, 2023
13ae421
docs: minor tweaks to fix sphinx errors/warnings
sanjayankur31 Sep 19, 2023
fda56f7
Merge branch 'development' into feat/nsgr-integration
sanjayankur31 Sep 19, 2023
86fab33
Merge pull request #243 from NeuroML/feat/nsgr-integration
pgleeson Sep 19, 2023
7e20e7e
feat(2d-morph): allow plotting cells in different levels of detail
sanjayankur31 Sep 19, 2023
338835b
chore(plot-2d-morph): update valid plot type options
sanjayankur31 Sep 19, 2023
8828c46
chore: update value error text
sanjayankur31 Sep 19, 2023
e4c7963
To v1.1.0; Update to jnml v0.12.3 jar
pgleeson Sep 19, 2023
f04f68f
chore(flake8): ignore a few more tests
sanjayankur31 Sep 19, 2023
7ea1e59
feat(plot-2d-morph): also handle "constant" in the plot spec
sanjayankur31 Sep 19, 2023
d4bcf0b
feat(vispy-plotting): enable plotting of cells in networks in differe…
sanjayankur31 Sep 19, 2023
c90cd3a
Change location of channel density plots
pgleeson Sep 19, 2023
91f5526
feat(hybrid-plots): implement `point_fraction`
sanjayankur31 Sep 19, 2023
c57e45f
fix(point-cell-plotting): correct check for cells should be plotted a…
sanjayankur31 Sep 19, 2023
5d66555
Merge pull request #254 from NeuroML/experimental
pgleeson Sep 19, 2023
c2b40a4
feat(write): include HDF5 writing
sanjayankur31 Sep 19, 2023
38acbc1
chore: correct default
sanjayankur31 Sep 19, 2023
f81a9ce
fix(plotting): check for `None`
sanjayankur31 Sep 19, 2023
5a1abf4
chore: remove 0.12.2 jar
sanjayankur31 Sep 20, 2023
2e8c478
refactor(plotting): minor performance improvements
sanjayankur31 Sep 20, 2023
2104a6d
To v1.1.0; uses jnml jar 0.12.4
pgleeson Sep 20, 2023
03f9475
Merge branch 'development' into feat/hybrid-plots
sanjayankur31 Sep 20, 2023
3bccb5c
Merge pull request #256 from NeuroML/experimental
pgleeson Sep 20, 2023
0899741
Merge pull request #255 from NeuroML/feat/hdf-writer
pgleeson Sep 20, 2023
9bdb814
Merge pull request #253 from NeuroML/feat/hybrid-plots
pgleeson Sep 20, 2023
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
178 changes: 178 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
{
"projectName": "pyNeuroML",
"projectOwner": "NeuroML",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 100,
"commit": true,
"commitConvention": "angular",
"contributors": [
{
"login": "pgleeson",
"name": "Padraig Gleeson",
"avatar_url": "https://avatars.githubusercontent.com/u/1556687?v=4",
"profile": "http://www.opensourcebrain.org/",
"contributions": [
"bug",
"code",
"content",
"data",
"doc",
"design",
"eventOrganizing",
"ideas",
"infra",
"maintenance",
"mentoring",
"platform",
"projectManagement",
"question",
"research",
"review",
"tool",
"tutorial",
"talk",
"userTesting"
]
},
{
"login": "sanjayankur31",
"name": "Ankur Sinha",
"avatar_url": "https://avatars.githubusercontent.com/u/102575?v=4",
"profile": "https://ankursinha.in/",
"contributions": [
"bug",
"code",
"content",
"data",
"doc",
"design",
"eventOrganizing",
"ideas",
"mentoring",
"platform",
"question",
"research"
]
},
{
"login": "borismarin",
"name": "Boris Marin",
"avatar_url": "https://avatars.githubusercontent.com/u/3452783?v=4",
"profile": "https://github.com/borismarin",
"contributions": [
"bug",
"code",
"content",
"data",
"doc",
"design",
"eventOrganizing",
"ideas",
"infra",
"maintenance",
"platform",
"question",
"research",
"review",
"tool",
"userTesting"
]
},
{
"login": "rgerkin",
"name": "Richard C Gerkin",
"avatar_url": "https://avatars.githubusercontent.com/u/549787?v=4",
"profile": "http://rick.gerk.in/",
"contributions": [
"bug",
"code",
"ideas",
"maintenance",
"platform",
"research",
"review",
"tool",
"userTesting"
]
},
{
"login": "lungd",
"name": "David Lung",
"avatar_url": "https://avatars.githubusercontent.com/u/5890526?v=4",
"profile": "https://github.com/lungd",
"contributions": [
"bug",
"code",
"maintenance",
"tool",
"userTesting"
]
},
{
"login": "mwatts15",
"name": "Mark Watts",
"avatar_url": "https://avatars.githubusercontent.com/u/1487560?v=4",
"profile": "https://www.thispersondoesnotexist.com/",
"contributions": [
"bug",
"code"
]
},
{
"login": "ccluri",
"name": "Chaitanya Chintaluri ",
"avatar_url": "https://avatars.githubusercontent.com/u/546703?v=4",
"profile": "https://chchaitanya.wordpress.com/",
"contributions": [
"bug",
"code"
]
},
{
"login": "34383c",
"name": "34383c",
"avatar_url": "https://avatars.githubusercontent.com/u/17238193?v=4",
"profile": "https://github.com/34383c",
"contributions": [
"bug",
"code"
]
},
{
"login": "jrieke",
"name": "Johannes Rieke",
"avatar_url": "https://avatars.githubusercontent.com/u/5103165?v=4",
"profile": "https://github.com/jrieke",
"contributions": [
"bug",
"code"
]
},
{
"login": "andrisecker",
"name": "András Ecker",
"avatar_url": "https://avatars.githubusercontent.com/u/13274870?v=4",
"profile": "https://github.com/andrisecker",
"contributions": [
"bug",
"code"
]
},
{
"login": "RokasSt",
"name": "Rokas Stanislovas",
"avatar_url": "https://avatars.githubusercontent.com/u/12904422?v=4",
"profile": "https://github.com/RokasSt",
"contributions": [
"bug",
"code"
]
}
],
"contributorsPerLine": 7,
"linkToUsage": true
}
46 changes: 20 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,32 @@ name: Continuous builds

on:
push:
branches: [ master, development, experimental, test* ]
branches:
- master
- development
- experimental
- 'test*'
pull_request:
branches: [ master, development, experimental, test* ]
branches:
- master
- development
- experimental
- 'test*'

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
fail-fast: false

steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -28,35 +36,21 @@ jobs:
echo "github.ref is: ${{ github.ref }}"
echo "github.base_ref is: ${{ github.base_ref }}"

- name: Install deps from development
if: ${{ github.ref == 'refs/heads/development' || github.base_ref == 'development' }}
- name: Upgrade pip, install inspyred
run: |
echo "Using deps from development for our repos"
sed -E -i 's/((libNeuroML|NeuroMLlite|pylems|pyelectro|neurotune).git)@master/\1@development/' requirements-dev.txt
sed -E -i 's/((modelspec).git)@main/\1@development/' requirements-dev.txt

- name: Install deps from experimental
if: ${{ github.ref == 'refs/heads/experimental' || github.base_ref == 'experimental' }}
run: |
echo "Using deps from experimental - assuming development in others"
sed -E -i 's/((libNeuroML|NeuroMLlite|pylems|pyelectro|neurotune).git)@master/\1@development/' requirements-dev.txt
sed -E -i 's/((modelspec).git)@main/\1@development/' requirements-dev.txt
python -m pip install --upgrade pip
pip install git+https://github.com/aarongarrett/inspyred.git@master#egg=inspyred
pip install .[dev]

- name: Install package
- name: List packages so far
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install pytest
pip install .
pip list

- name: Run tests
run: |
pytest .
pynml -h

# For now, only test neuron related examples on py3
if [[ ${{ matrix.python-version }} == "3."* ]]; then argnrn=-neuron ; fi
./test-ghactions.sh $argnrn
./test-ghactions.sh -neuron

- name: Lint with flake8
run: |
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Upload Python Package

on:
release:
types: [published]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
43 changes: 43 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,46 @@ examples/results/*.dat
/examples/test_data/ca1/*.hoc
.venv/
/examples/LEMS_NML2_Ex5_DetCell_brian2.py
/examples/*.gen.so
*_eden.py
/examples/test_data/Purk2M9s.nml.png
/examples/test_data/*.pov
/examples/test_data/ca1/*.pov
/examples/test_data/ca1/TestOLMNet.net.nml.png
/examples/test_data/complex_cell.cell.png
/examples/test_data/simple_cell.cell.png
/examples/test_data/complex_cell.morph.png
/examples/test_data/simple_cell.morph.png
/examples/LEMS_NML2_Ex5_DetCell_moose.py
/examples/NET_NML2_Ex5_DetCell.net.nml

.mypy_cache/
/examples/test_data/TwoCell.net.png
/examples/test_data/Purk2M9s.png
/.coverage
/Nav.channel.nml
/iv_izh2007RS0.net.nml
/leak_chan.channel.nml
/test_analysis_if.png
/test_analysis_iv.png
/test_analysis_traces.png
/test_cell_analysis.cell.nml
/tests/DoubExpSyn.channel.nml
/tests/Nav.channel.nml
/tests/iv_izh2007RS0.net.nml
/tests/leak_chan.channel.nml
/tests/test_cell_analysis.cell.nml
arm64
*.neux
/test_*plot*png
/examples/plot.py
/tests/utils/test_rotation.net.nml
/tests/utils/test_rotation.net.png
/tests/analysis/test_analysis_if.png
/tests/analysis/test_analysis_iv.png
/tests/analysis/test_analysis_traces.png
/tests/analysis/test_cell_analysis.cell.nml
/tests/plot/test_schematic_plot_2d_test_cell_nml_xy.png
/tests/plot/test_schematic_plot_2d_test_cell_nml_xz.png
/tests/plot/test_schematic_plot_2d_test_cell_nml_yz.png
/tests/analysis/*png
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
18 changes: 18 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"


sphinx:
configuration: docs/source/conf.py


python:
install:
- method: pip
path: .
extra_requirements:
- doc
Loading