AllenNeuralDynamics / dynamic-foraging-task

Bonsai/Harp workflow for Dynamic Foraging with Python GUI for visualization and control
MIT License
5 stars 4 forks source link

Session metadata - Error generating session metadata: bad operand type for unary -: 'str' #494

Open alexpiet opened 1 month ago

alexpiet commented 1 month ago

Error generating session metadata: bad operand type for unary -: 'str' Foraging.py _Save line 2389 ephys3

alexpiet commented 3 weeks ago

@XX-Yin This error was generate 548 times last week, all of them on ephys3. I suspect its a type issue with the rig metadata being generated on the ephys rig?

Error generating session metadata: bad operand type for unary -: 'str' | Foraging.py | _Save | line 2415 | ephys3

XX-Yin commented 3 weeks ago

@alexpiet I think so. There is no rig metadata detected in that rig due to mismatch of the prefix, which has been fixed. It should be solved now.

alexpiet commented 1 week ago

@XX-Yin Reopening this because it happened last week: 793 | Error generating session metadata: bad operand type for unary -: 'str' | Foraging.py | _Save | line 2448 | ephys3