You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Someone reported to me the part 4 error: 1Error in if (is.na(defaultGuider)) { : argument is of length zero
based on default GGIR settings.
I investigated it and see it is triggered by night number 0 to exist in the part 3 output, caused by revisions to function g.det.sib in the past year which made that night number 0 can be left in the data during the DST hour in the spring, which then is confusing for part 4 where night number is defined as the range in values in night number column of the part 3 output.
I am now working on a fix.
The text was updated successfully, but these errors were encountered:
Hi, I have just observed the same and I was investigating this as well. Let me know if you need any help or you want me to double-check anything with another dataset. FYI, I observed this in the DST hour change in the autumn (not spring).
It could be a good opportunity to revise the internal function dstime_handling_check within g.sib.det, I drafted some code for this in the branch "sleep_horAngle".
Explanation:
The code in part 3 has been defining the window for sleep detection by default as noon +/- 12 hours which causes that the hour 11am-noon is missed during DST in the autumn (5-11-2023), which causes the hour to be listed with night number 0, and that then caused trouble later on where we define night range as the range in values for night numbers.
Someone reported to me the part 4 error:
1Error in if (is.na(defaultGuider)) { : argument is of length zero
based on default GGIR settings.
I investigated it and see it is triggered by night number 0 to exist in the part 3 output, caused by revisions to function
g.det.sib
in the past year which made that night number 0 can be left in the data during the DST hour in the spring, which then is confusing for part 4 where night number is defined as the range in values in night number column of the part 3 output.I am now working on a fix.
The text was updated successfully, but these errors were encountered: