AllenInstitute / MIES

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

AB: fix AB_LoadDataWrapper asserts if zero waves were loaded #2089

Closed MichaelHuth closed 2 months ago

MichaelHuth commented 2 months ago

When no matching waves could be found in the pxp file then AB_LoadDataWrapper causes an assertion because the recursive cleanup of empty DF results in a killed root DF of the loaded DF structure. A following GetListOfObjects was executed unchecked and caused an ASSERT_TS in that case.

Added check for removed DF.

since 23a4086e (RemoveAllEmptyDataFolders: Make it behave more intuitive, 2024-03-06)