If the timeline in
Block(event_sequence, timeline)
is not a list, the code will still run and produce a compiled jsPsych code. (For example if it is a dictionary).
This leads to errors that are hard to debug for users.
Instead, we should add some error checking here and create verbose error messages to point the user towards the correct formating.
If the timeline in
Block(event_sequence, timeline)
is not a list, the code will still run and produce a compiled jsPsych code. (For example if it is a dictionary).
This leads to errors that are hard to debug for users.
Instead, we should add some error checking here and create verbose error messages to point the user towards the correct formating.