You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree, however it shouldn't crash the whole execution. How about a warning?
I am doing some automatic parameter optimisation, and sometimes I need to initialize parameters to something ridiculous (e.g. maxsl = 1 ). In that case I would like the program to handle this graciously.
I see what you mean. Do you actually need to load the detected spikes for that?
Incidentally, while you are at it, could you check if there are redundant parameters passed to the detection function? I don't even know what these parameters mean and it should be documented.
If the file_name (usually ProcessedSpikes.bin) is a path to an empty file, LoadDetected() crashes with
ValueError: cannot mmap an empty file
Instead, it should just fill self.spikes dataframe with empty values.
The text was updated successfully, but these errors were encountered: