Skip to content

Commit 448cab4

Browse files
committed
Merge branch 'development' of github.com:suny-downstate-medical-center/netpyne into development
2 parents 965a521 + 31a5f13 commit 448cab4

File tree

266 files changed

+17513
-1842
lines changed

Some content is hidden

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

266 files changed

+17513
-1842
lines changed

.github/workflows/tests.yml

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

1413
steps:
1514
- name: Check out repository code
1615
uses: actions/checkout@v4
1716

1817
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v5
2019
with:
2120
python-version: ${{ matrix.python-version }}
2221

2322
- name: Update apt-get
2423
run: sudo apt-get update
2524

2625
- name: Install packages
27-
run: sudo apt-get install python-tk python3-tables
26+
run: sudo apt-get install python3-tables
2827

2928
- name: Install dependencies
3029
run: |

CHANGES.md

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,83 @@
1+
# Version 1.1.0
2+
3+
**New features**
4+
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)")
12+
13+
**Bug fixes**
14+
15+
- Solve minor bug in the uniform field for extracelular stimulation (sign). Deposited the xtra.mod in support module.
16+
17+
- Fixed batch SGE example (credit: Adam Newton)
18+
19+
- Solved small bug when plotting colorbar in the raster plot colored by the LFP phase
20+
21+
- Solved conflict between diversity and segment coordinates (per population), used in LFP setups
22+
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
42+
43+
**New features**
44+
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+
181
# Version 1.0.6
282

383
**New features**

doc/build.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,25 @@
3838
10d) It will fix the Package Index file
3939
10e) It will build the html files
4040
11) Post the documentation
41-
11a) ssh gkaue9v7ctjf@107.180.3.236 "rm -r ~/public_html"
41+
11a) ssh gkaue9v7ctjf@107.180.3.236 "cp -r ~/public_html ~/public_html_backup"
4242
NOTE: it may give the error "... no matching host key type found ...". In this case, try using the "-oHostKeyAlgorithms=+ssh-rsa" argument in ssh command and in scp command below (as well as in 11c)
43-
11b) scp -r build gkaue9v7ctjf@107.180.3.236:///home/gkaue9v7ctjf/public_html
43+
11b) scp -r build gkaue9v7ctjf@107.180.3.236:///home/gkaue9v7ctjf/public_html_new
4444
NOTE: it may give the error "path canonocalization failed", then use the argument "-O" in scp call - it rolls back to legacy mode (see also NOTE in 11a)
45-
11c) ssh gkaue9v7ctjf@107.180.3.236 "cp -r ~/redirect_html/. ~/public_html/"
45+
NOTE: faster command?::
46+
NOTE: rsync -r --progress build/ gkaue9v7ctjf@107.180.3.236:/home/gkaue9v7ctjf/public_html_new
47+
11c) ssh gkaue9v7ctjf@107.180.3.236 "cp -r ~/redirect_html/. ~/public_html_new/ && rm -r ~/public_html && mv ~/public_html_new ~/public_html"
48+
11d) Make sure new documentation is up and running
49+
11e) ssh gkaue9v7ctjf@107.180.3.236 "rm -r ~/public_html_backup/"
4650
12) Update PYPI (pip) with the latest release
4751
12a) cd netpyne
4852
12b) python3 setup.py bdist_wheel --universal
4953
12c) python setup.py upload_via_twine
50-
Username: salvadord
54+
(outdated) Username: salvadord
55+
Enter the token (https://dura-bernallab.slack.com/archives/D02A30N4Z50/p1707862380181609)
5156
13) Announce the new release
5257
13a) New release announcement text:
5358
NetPyNE v#.#.# is now available. For a complete list of changes and bug fixes see: https://github.com/suny-downstate-medical-center/netpyne/releases/tag/v#.#.#
54-
See here for instructions to install or update to the latest version: http://www.netpyne.org/install.html
59+
See here for instructions to install or update to the latest version: https://www.netpyne.org/documentation/installation
5560
13b) Announce on NEURON forum:
5661
https://www.neuron.yale.edu/phpBB/viewtopic.php?f=45&t=3685&sid=9c380fe3a835babd47148c81ae71343e
5762
13c) Announce to Google group:

doc/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@
6767
# built documents.
6868
#
6969
# The short X.Y version.
70-
version = '1.0.6'
70+
version = '1.1.0'
7171
# The full version, including alpha/beta/rc tags.
72-
release = '1.0.6'
72+
release = '1.1.0'
7373

7474
# The language for content autogenerated by Sphinx. Refer to documentation
7575
# for a list of supported languages.
798 KB
Loading
1.63 MB
Loading
531 KB
Loading

doc/source/figs/multisyn_0.png

41.5 KB
Loading

doc/source/figs/multisyn_1.png

73.3 KB
Loading

0 commit comments

Comments
 (0)