Skip to content

GratingSpecification does not pass trials to CreateGratingTrial in latest versions of Bonsai #31

@banchan86

Description

@banchan86

While going through the BonVision docs to reproduce the examples I noticed this bug which seems to have only popped up recently when using the latest versions of Bonsai (I tested it in Bonsai 2.8.0 and 2.8.3). The trials specified in GratingSpecification does not get passed on to CreateGratingTrial, GratingSequence simply reproduces what is defined in CreateGratingTrial .

To reproduce, follow the first example on this page
https://bonvision.github.io/pages/08-GratingSeries/

This issue is also referenced in
https://github.com/orgs/bonsai-rx/discussions/1684

The 2AFC demo in Bonvision examples repo no longer works because of this
https://github.com/bonvision/examples/tree/master/Demos/OriDiscrimination

Workflow attached that reproduces this bug:
grating-stimuli.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions