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]: Fixed simulations dropdown list adding loaded data #825

Closed kmilo9999 closed 1 month ago

kmilo9999 commented 1 month ago

The simulations dropdown list was adding loaded data, and hnn-gui cant export non-simulated data.

solves #824

kmilo9999 commented 1 month ago

Thanks @kmilo9999!

Is it possible to unit test this? Perhaps just check that there isn't loaded data in this field, I imagine it could be a oneliner added to an existing GUI test that loads data

Yes, I thought about it too. I'll work on it and add it to this PR

kmilo9999 commented 1 month ago

@ntolley I added the unit test. One last review and I think you can merge it. I need it in order to continue working in the list of gui bugs.