jonescompneurolab / hnn-core

Simulation and optimization of neural circuits for MEG/EEG source estimates
https://jonescompneurolab.github.io/hnn-core/
BSD 3-Clause "New" or "Revised" License
53 stars 52 forks source link

[MRG] BUG: Update `gid_ranges` after using `clear_drives` #812

Closed ntolley closed 1 month ago

ntolley commented 1 month ago

Currently calling net.clear_drives does not update the Network correctly. This PR adds implements these updates and adds a quick test to ensure the updates are applied.

@gtdang feel free to merge when the checks are green!

rythorpe commented 1 month ago

FYI, this is updated on @wagdy88's PR #702. Not that we necessarily need to wait for it, but just wanted to put it on your radar.