Frame list enhancements

Hi Evan,

Per your request, frame list stimuli have gained two new features:

  1. An optional “repeats” parameter. If provided, it should be a positive integer (or a variable containing one) indicating how many times to repeat the list. (Note that “loop” takes priority over “repeats”. If “loop” is true, the list will repeat forever, regardless of the value of “repeats”.)

  2. An optional “ending” parameter. If provided, it should be a variable name. The specified variable will be set to 1 when the frame list begins drawing its last frame, thereby notifying you of the optimal time to queue up stimuli that should be displayed during the frame immediately following said last frame.

These will be available in the nightly build shortly. If you have any questions or run in to any issues, please let me know.

Cheers,
Chris