For years, to advance my trialHandler I’ve used .next()
However, that no longer works, even though the trialHandler documentation says “Calls to .next() will fetch the next trial object”.
Elsewhere in Psychopy3 documentation, e.g. ExperimentHandler, I’ve seen mention of “.nextEntry”, but that also doesn’t work with trialHandler, as you can see in my code snippet here.
The examples all have trialHandler advanced via a for loop, which is why Psychopy passes automated testing I suppose, but sometimes I need to have advancing to the next trial contingent on things which makes a for loop unsuitable.