Closed adammorrissirrommada closed 7 years ago
I think there is no easy way to solve this for Inf values. Feedback items, for example, are delivered based on their criterion function, which often compares a "to" time of Inf to trial time. That will never return true.
I think this is less of an issue now that function properties are done more efficiently. People can set a behavior "to" to '@cic.trialDuration' if that's what they want. I tried that with behaviorDemo f1 and a sound feedback item and it worked.
Often we say "fixate until the end of the trial" by setting the "to" time to Inf or '@cic.trialDuration'. But these cases are currently never satisfied because it doesn't check the behavior once the trial ends. At the end of the trial, time==Inf should be considered equal to cic.trialDuration and behaviors should be checked once last time.