Fix hang on RaceAnalyzer analysis
On raceAnalyzer it fails here:
if(max(Y) < desiredY)
scripts-util.R
it fails because Y has NAs, instead of doing NA.rm = T, check getSplits (), you can see:
endSample = endSample + startSample
since this commit (27 dec 2022) bdb23e3a
So endSample has increased but not startSample. That line seems a non-sense, check why it was written.
Example (user Prueba, set 12 (2023-03-17-10-55-24) chronojump_Proves_2023-03-17_11-34-19.7z
Edited by Xavier Padullés