cortex-lab / PinkRigs

Shared code for processing data on the pink rigs
4 stars 1 forks source link

when there is no data in exp2checklist, preprocessing calls some recordings automatically #18

Closed takacsflora closed 2 years ago

takacsflora commented 2 years ago

MWE: (point is, there is no such session).

params.subject = {'FT010'};
params.expDate = {'2021-01-20'};
params.expNum = '8';

exp2checkList = csv.queryExp(params);

preproc.extractExpData(exp2checkList,'recompute',{'spikes'},'KSversion','KS2');

a bunch of AV015 and AV021 was attempted to be processed: image

cbimbo commented 2 years ago

That's because when exp2checkList is empty the default subjects get assigned. That was a tricky one to fix, I think I did (mainly modifying csv.inputValidation) but it may not be the most elegant. @pipcoen feel free to take a look and modify if you find a smoother way. Thanks!

pipcoen commented 2 years ago

Seems fine to me