Same as my last PR (#81), a collaborator found a class of index which doesn't translate.
This is quite typical to do in PsychoPy:
stimuli = ["a.png", "b.png", "c.png"]
trials = TrialHandler(...)
for trial in trials:
stim = stimuli[trials.thisN]
and we've found that stimuli[trials.thisN] doesn't translate as trials.thisN is an ast.Attribute and this isn't included in the assertion for adding a slice.
Same as my last PR (#81), a collaborator found a class of index which doesn't translate.
This is quite typical to do in PsychoPy:
and we've found that
stimuli[trials.thisN]
doesn't translate astrials.thisN
is anast.Attribute
and this isn't included in the assertion for adding a slice.