AllenInstitute / MIES

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

SB_GetSweepDataFolder is not aware of multiple loaded experiments #2151

Open MichaelHuth opened 1 week ago

MichaelHuth commented 1 week ago

When given a sweepNo as argument with the simple FindValue approach the function returns only for the first hit.

Thus, we have code paths that are not aware of sweeps loaded from multiple experiment.

e.g. everything that uses also BSP_GetSweepDF

MichaelHuth commented 1 week ago

Review all functions that use: SB_GetSweepDataFolder, BSP_GetSweepDF

General changes:

Add a column a SweepMap with CRC of sweep number, experiment name, device name. Then function take these as argument, resolve indice through finding that CRC in SweepMap.

Change SB functions to use the mentioned three arguments for IDing a sweep.