Oh I see. I’ll take a look at the heap issue too. Funnily enough, I’ve never experienced this when I ran closed economy for over two weeks. But I did experience this with a modified version of the left-right sequence, and a customized stop sequence one too. Resets in the former resulted in some mice experiencing a reset in the time interval required to finish a left-right poke, (which was meant to reduce to 3 seconds after the mice reached 320 pellets, but the reset caused it to go back to the starting 60 seconds interval). And I’ve had some issues with this in the stop sequence trials that I couldn’t quite resolve by concatenating the files too (the concatenation worked fine but when I tried running the files through another python code, it wasn’t giving me the correct summary data unfortunately).
I haven’t taken a closer look at the code but I’ll check if there’s something different in the closedecon code vs the left-right and stop sequence ones that might be responsible? Although I wouldn’t think that’d be the case.
The suggestion about filtering out incomplete blocks seems pretty good actually. I’ll try that out if need be. I think that way I’d still be able to use all the data.
I’ll definitely try troubleshooting this further. I’ll play around with a spare FED and see if it’s the heap issue or if it’s something else.