jonescompneurolab / hnn

The Human Neocortical Neurosolver (HNN) is a software tool that gives researchers/clinicians the ability to develop/test hypotheses on circuit mechanisms underlying EEG/MEG data.
http://hnn.brown.edu
Other
81 stars 25 forks source link

MRG: BUG: check that spec data loaded before plotting #291

Closed blakecaldwell closed 3 years ago

blakecaldwell commented 3 years ago

Check that sim_data['spec'] has valid for each trial. Previously only checked the length was > 0, but when there is a failure loading spec data, there is a list of None. Need to check that data for each trial isn't None.

Fixes #290

blakecaldwell commented 3 years ago

This is deep in the plotting code. Basically checking what data exists before laying out the Qt dialog appropriately. Going to merge now. Comments should be sufficient for others to piece together what's going on.