Closed jlashner closed 3 years ago
It also forbids v[:n] if n > len(v). It seems odd for slicing to work differently than Python... (though there is some sense in forbidding step<0 here). Shall we raise/fix in spt3g_software?
I submitted an issue to the spt3g_software repo: https://github.com/CMB-S4/spt3g_software/issues/45, so I'm going to close this one.
When the smurf-recorder is monitoring a channel and there is a short data file, the record process crashes with this error:
Digging into spt3g, this points to this segment:
Apparently Timestream slicing does not behave exactly the same as python list slicing, since in ordinary python lists you're allowed to slice with step sizes larger than the length of this list.
This should be an easy fix.