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
55 stars 52 forks source link

Clear all simulations and loaded data #618

Open chenghuzi opened 1 year ago

chenghuzi commented 1 year ago

Just like the old GUI, we may need a button to clear all existing simulations and loaded data. Or, we may want two separate buttons for them as sometimes we just want to reset the simulation during optimization.

jasmainak commented 1 year ago

Agreed! Would it make sense to add simulations and data in a SelectionBox and a "Delete" button next to it, so users can delete a subset or all of the data? This could go in the whitespace under the "simulation" tab for example.

jasmainak commented 1 year ago

Another possibility is the TagsInput widget which already has a 'x' to indicate "deletion"

chenghuzi commented 1 year ago

Another possibility is the TagsInput widget which already has a 'x' to indicate "deletion"

It looks nice but I worry accidental operations by users. Not sure if they have something like a confirmation dialog. Also, space could a problem if you have say more than 10 simulations, as the box may overflow.

jasmainak commented 1 year ago

We need to implement any one solution and observe what the user does ... I suspect accidental deletion is not such a big problem since the user can always re-run the simulation. I think we also need to remember that we are not trying to make a perfect industry-standard GUI but one that is useful for teaching and exploratory purposes. I am hoping that those wanting to do more involved data analysis will use hnn-core

ntolley commented 3 months ago

This is essentially solved by hitting refresh, perhaps we can just add a note mentioning that in one of the tutorials?