Skip to content

add error message if timeline is not a list #145

@younesStrittmatter

Description

@younesStrittmatter

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerspriority 1 - neededThese are highly desirable to be fixed, ideally within 2 weeks.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions