cortex-lab / PinkRigs

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

Cannot request "all" dates with csv_queryExp.py #50

Closed cbimbo closed 3 months ago

cbimbo commented 1 year ago

In the Python version of queryExp, it seems that requesting "all" dates (or "last...") crashes at l76. @takacsflora it may be due to recent changes -- could you please recheck? Thanks! I get the error when running stage_KS_queue(mouse_selection='EB014',date_selection='all',resort=False)

takacsflora commented 1 year ago

Hi Celian, Technically, 'all' was never implemented for stage_KS_queue, please use 'last600' for now, if you want to use this function. That being said, stage_KS_queue is only used for processing of newly acquired data, and for anything else, you can use pymanuals/manual_ephys.ipynb I can update/unify these codes down the line ofc.

cbimbo commented 1 year ago

Hi Flora. Thanks. FYI 'last600' doesn't work either (same line).

takacsflora commented 1 year ago

Hi Celian I cannot replicate this issue on kilo-2, calling stage_KS_queue(mouse_selection='EB014',date_selection='last600',resort=False) works.