AllenInstitute / MIES

Multichannel Igor Electrophysiology Suite
https://alleninstitute.github.io/MIES/user.html
Other
21 stars 6 forks source link

Handle analysis functions which set a too large DAScale value #2120

Open t-b opened 1 month ago

t-b commented 1 month ago

If you set a too large DAScale value we abort in DC_PlaceDataInDAQDataWave. But then the post set event of the analysis function is not called and we don't have a stop reason.

Teach SetDAScale to avoid writing an out-of-range DAScale value. In order to to figure that out we need to:

And all analysis functions should then properly finish with a new LBN entry telling the user why we had to stop early.

Wavebuilder should write min/max per sweep into wave note.