Skip to content

Commit ec65930

Browse files
committed
Merge branch 'development' into osbv2-dev
2 parents 2ce0695 + 448cab4 commit ec65930

File tree

453 files changed

+41859
-7434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

453 files changed

+41859
-7434
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Mirror to Ebrains
2+
3+
# Configure the events that are going to trigger tha automated update of the mirror
4+
on:
5+
push:
6+
branches: [ master ]
7+
8+
# Configure what will be updated
9+
jobs:
10+
# set the job name
11+
to_ebrains:
12+
runs-on: ubuntu-latest
13+
steps:
14+
# this task will push the master branch of the source_repo (github) to the
15+
# destination_repo (ebrains gitlab)
16+
- name: syncmaster
17+
uses: wei/git-sync@v3
18+
# component owners need to set their own variables
19+
# the destination_repo format is
20+
# https://gitlab_service_account_name:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/name_of_mirror.git
21+
with:
22+
source_repo: "suny-downstate-medical-center/netpyne"
23+
source_branch: "master"
24+
destination_repo: "https://github-pusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/vbragin/netpyne.git"
25+
destination_branch: "master"
26+
# this task will push all tags from the source_repo to the destination_repo
27+
- name: synctags
28+
uses: wei/git-sync@v3
29+
with:
30+
source_repo: "suny-downstate-medical-center/netpyne"
31+
source_branch: "refs/tags/*"
32+
destination_repo: "https://github-pusher:${{ secrets.EBRAINS_GITLAB_ACCESS_TOKEN }}@gitlab.ebrains.eu/vbragin/netpyne.git"
33+
destination_branch: "refs/tags/*"

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest]
10-
#python-version: [2.7, 3.7]
11-
python-version: [3.7]
10+
python-version: ["3.9", "3.10", "3.11", "3.12"]
11+
fail-fast: false
1212

1313
steps:
1414
- name: Check out repository code
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616

1717
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v5
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121

2222
- name: Update apt-get
2323
run: sudo apt-get update
2424

2525
- name: Install packages
26-
run: sudo apt-get install python-tk python3-tables
26+
run: sudo apt-get install python3-tables
2727

2828
- name: Install dependencies
2929
run: |

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/doc/source/*.rst
1+
/doc/source/netpyne.*.rst
2+
doc/source/package_reference.rst
23

34
/examples/sandbox/LEMS_sandbox.xml
45
/examples/M1/LEMS_M1.xml

CHANGES.md

Lines changed: 189 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,214 @@
1-
# Version in development
1+
# Version 1.1.0
22

33
**New features**
44

5-
- Added 'linewidth' as argument of plotting.plotSpikeHist()
5+
- Added extracellular stimulation with a supporting xtra.mod (which includes a global variable defining the temporal modulation and a pointer to link the extracellular mechanism in NEURON). Useful for large networks
6+
7+
- Improved netParams validation (mechs validation, improved error messages)
8+
9+
- added ability to save transmembrane current for each segment
10+
11+
- Updated options for batch communication (see netpyne documentation: "running a batch job (beta)")
612

713
**Bug fixes**
814

9-
- fixed handling filenames with multiple dots in `MetaFigure.saveFig()`
15+
- Solve minor bug in the uniform field for extracelular stimulation (sign). Deposited the xtra.mod in support module.
1016

11-
# Version 1.0.3.1
17+
- Fixed batch SGE example (credit: Adam Newton)
1218

13-
- Hotfix to support new GUI functionality (fixes in grid parameter optimization)
19+
- Solved small bug when plotting colorbar in the raster plot colored by the LFP phase
1420

15-
- Removed redundant warnings
21+
- Solved conflict between diversity and segment coordinates (per population), used in LFP setups
1622

17-
# Version 1.0.3
23+
- Added extracellular stimulation (option: without compiling an additional .mod file - large memory requirements-)
24+
25+
- Update of documentation (stimSourceParams and stimTargetParams) incorporating how to define extracellular stimulations
26+
27+
- Fixed ODict in examples/batchCell (credit: Hyunsu Lee)
28+
29+
- Fix in RxD to support NEURON 9 (credit: Adam Newton)
30+
31+
- Fixed recording from variables of Point process
32+
33+
- Fixed time slicing on pre-loaded data in plotCSD() (credit: Nikita Novikov)
34+
35+
- Fixed sbi deprecation error. Fixes in docs formatting
36+
37+
- Fixes, refactoring and fail-fast checks in multisinaptic connections
38+
39+
- Fix verbatim function defs in mod files (credit: Ankur Sinha)
40+
41+
# Version 1.0.7
1842

1943
**New features**
2044

21-
- Added ability to load PointCell from saved network
45+
- Introducing `batchtools` subpackage for parameters exploration and optimization
46+
47+
- Added progress-bar indicating network creation progress. Toggle the progress bar with cfg.progressBar
48+
49+
- cfg.connRandomSecFromList and cfg.distributeSynsUniformly can now be overriden in individual conn rule
50+
51+
- Added ability to use `sec`, `loc`, `preSec` and `preLoc` from list in connList-type connParams
52+
53+
- Updated tests.examples.utils to allow for dynamic pathing
54+
55+
- Dropped python2 support
56+
57+
**Bug fixes**
58+
59+
- Better handling of exceptions in `importCellParams()` (incl. `h.load_file()` - issue 782)
60+
61+
- Pandas deprecated parameter fix
62+
63+
- Fixed pointer id overflow on MPI (e.g. for gap junctions)
64+
65+
- preSec and preLoc are no longer lost for inverse pointer connection
66+
67+
- Fixed crash due to use of matplotlib.TextArea deprecated param (credit: Christian O'Reilly)
68+
69+
- syncLines in rasterPlot restored
70+
71+
- Fixed a bug in `gatherDataFromFiles()` where cellGids for node 0 were lost
72+
73+
- Fixed generating rhythmic spiking pattern with 'uniform' option
74+
75+
- Fixed misleading console output when cfg.recordStims is On
76+
77+
- The colors in CSD plots are now properly aligned vertically with the CSD time-series overlays (credit: Sam Neymotin)
78+
79+
- Update mkdir to makedirs (credit: Jacob Sprouse)
80+
81+
# Version 1.0.6
82+
83+
**New features**
84+
85+
- Raster plot colored by phase
86+
87+
- Examples based on the CA3 model using the 'colorbyPhase' option in the plotRaster
88+
89+
- API for loading .mod files selectively
90+
91+
- Ability to specify custom executor to run batch with (defaults to `sh`)
92+
93+
**Bug fixes**
94+
95+
- Fixed loading point cell params from legacy models (issue 607)
96+
97+
- Fix voltage movie tutorial
98+
99+
- Fix to automatically include netstims in the sim.allSimData object when plotRaster 'include' selects 'all'
100+
101+
- Fixed loading netParams in some scenarios (bug caused by srting functions pre-processing)
102+
103+
- Fix of `plotRaster` pops coloring if ordered not by gid
104+
105+
- Made cells diversity work with popParams based on `cellsList` and `gridSpacing`
106+
107+
- Fixed handling of output of `sim.create()` - was wrong order (credit: Kate Doxey)
108+
109+
- Fixed undeclared var `dpi` in `plotShape()`
22110

23-
- Added MultiPlotter class to allow plotting line data on multiple axes
111+
- Fixes in batch utils
24112

25-
- Added option to use separate axis for each PSD trace (set axis='multi')
113+
- Added some missing math functions to use with 'Functions as string' functionality
26114

27-
- Added new Batch method named SBI (Simulation Based Inference) with example folder (sbiOptim)
115+
- Switch file copying method to shutil to be compatible over all operating systems (credit: Henrik Podeus)
28116

29-
- Added support for string functions in properties of cell mechanism, in cell geometry (in netParams.cellParams)
117+
# Version 1.0.5
30118

31-
- Added support for string functions in synMech parameters
119+
**New features**
120+
121+
- Time series and PSD plots for current source density (CSD)
122+
123+
- Added colorbar to CSD plot
124+
125+
- Support for Sun Grid Engine HPC
126+
127+
- Extended sim.gatherData() with more optional arguments for flexibility
128+
129+
- Specify linear/log scale in `plotRatePSD()`
130+
131+
- Print more info about exceptions in plotting functions
132+
133+
- Check RxD specification for potential syntax issues
134+
135+
- Prevent zero population size in scaled-down models
136+
137+
- Better messages for validation errors
138+
139+
**Bug fixes**
140+
141+
- Fixed errors in plotting with sim.cfg.gatherOnlySimData=True
142+
143+
- Support saving and loading data in .mat and .hdf5 formats
144+
145+
- Multiple fixes in `plotRatePSD()` - popColors, fft, minFreq
146+
147+
- Fixed sync lines in `plotRaster()`
148+
149+
- Fixed performance issue in `plotConn()` with `groupBy='pop'` (default)
150+
151+
- Fixed `recordTraces` to not require more presicion than segment size (for stim and synMech)
152+
153+
# Version 1.0.4.2
154+
155+
**Bug fixes**
156+
157+
- Unpin matplotlib version (params copying issue fixed)
158+
159+
# Version 1.0.4.1
160+
161+
**New features**
162+
163+
- Added env variable to define head model placement
164+
165+
# Version 1.0.4
32166

33-
- Massive update of schemas (validator.py and setup.py)
167+
**New features**
168+
169+
- Added 'linewidth' as argument of plotting.plotSpikeHist()
170+
171+
- More detailed validation of netParams
172+
173+
- Save and load model in native NetPyNE format
174+
175+
- Converted most of examples to new NetPyNE model structure
176+
177+
- Complex stimulation ('rhythmic', 'evoked', 'poisson' and 'gauss') for VecStim created as pointCell (as a population rule)
178+
179+
- Codebase brought into compliance with PEP8 conventions
180+
181+
- Updates in NeuroML examples and tests
182+
183+
**Bug fixes**
184+
185+
- fixed handling filenames with multiple dots in `MetaFigure.saveFig()`
186+
187+
- Fixed readCmdLimeArgs() default arguments for backward-compatibility
34188

35-
- More control over POINTER variables through synMechParams (e.g. for gap junctions)
189+
- Cleaned up example models to drop some legacy/irrelevant params
36190

37-
- Introduced cell variables in cellParams
191+
- RxD module: Parameters defined before reactions + names given by default when missing (by the key)
38192

39-
- Added plotRateSpectrogram to utils.py
193+
- Analysis: try ... except call in plotDipole
40194

41-
- Functions prepareCSD() and plotCSD() are now available
195+
- Save hObj of gap junction to connParams
42196

43-
- Updated documentation on install and about
197+
- Removed duplicated or unused code from gridSearch()
198+
199+
- Fixes in batch utilities to make OS-agnostic
200+
201+
# Version 1.0.3.1
202+
203+
- Hotfix to support new GUI functionality (fixes in grid parameter optimization)
204+
205+
- Removed redundant warnings
206+
207+
# Version 1.0.3
208+
209+
**New features**
210+
211+
- Added ability to load PointCell from saved network
44212

45213
**Bug fixes**
46214

@@ -60,9 +228,9 @@
60228

61229
- Fixed some misinformation in reference.rst about the subconn
62230

63-
- Fixed bug in dipole calculation units - changed from mA to uA
231+
- Fixed bug in dipole calculation units - changed from mA to uA
64232

65-
- Fixed bug in conditional logic when gathering LFP / dipoles
233+
- Fixed bug in conditional logic when gathering LFP / dipoles
66234

67235
- Allow tuples to specify population's cells in 'include' for plotSpike
68236

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,14 @@ For more details, installation instructions, documentation, tutorials, forums, v
77
This package is developed and maintained by Dura-Bernal lab (http://dura-bernal.org) and the Neurosim lab (www.neurosimlab.org).
88

99
[![Build](https://github.com/Neurosim-lab/netpyne/actions/workflows/tests.yml/badge.svg)](https://github.com/Neurosim-lab/netpyne/actions/workflows/tests.yml)
10+
11+
## Acknowledgements
12+
This work was funded by grants from the NIH, NSF, NYS SCIRB, UK Welcome Trust and Australian Research Council. We are thankful to all the contributors that have collaborated in the development of this open source tool via GitHub.
13+
14+
This project was supported by:
15+
- HBP Brain Simulation Platform funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 785907 (Human Brain Project SGA2).
16+
- EBRAINS research infrastructure, funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 945539 (Human Brain Project SGA3).
17+
18+
This project has received a Voucher "Integration of NetPyNE into EBRAINS Platform (EBRnetpyne)" from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement:
19+
- No. 785907 (Human Brain Project SGA2).
20+
- No. 945539 (Human Brain Project SGA3).

0 commit comments

Comments
 (0)