Skip to content

Commit

Permalink
Fixed a bug in gatherDataFromFiles() where cellGids for node 0 were…
Browse files Browse the repository at this point in the history
… lost
  • Loading branch information
vvbragin committed May 3, 2024
1 parent e3eec49 commit 703435c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

- syncLines in rasterPlot restored

- Fixed a bug in `gatherDataFromFiles()` where cellGids for node 0 were lost

# Version 1.0.6

**New features**
Expand Down
6 changes: 3 additions & 3 deletions netpyne/sim/gather.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,9 +499,9 @@ def sort(popKeyAndValue):
for key in singleNodeVecs:
allSimData[key] = list(fileData['simData'][key])
allPopsCellGids = {popLabel: [] for popLabel in nodePopsCellGids}
else:
for popLabel, popCellGids in nodePopsCellGids.items():
allPopsCellGids[popLabel].extend(popCellGids)

for popLabel, popCellGids in nodePopsCellGids.items():
allPopsCellGids[popLabel].extend(popCellGids)

mergedFiles.append(file)

Expand Down

0 comments on commit 703435c

Please sign in to comment.