Skip to content

bocas.Skip object #15

@caharper

Description

@caharper

Feature request: incorporate a bocas.Skip class so that experiments can be interrupted and resumed using the same config file. Right now, if running a bocas.Sweep does not have time to get through every element in the sweep, the user has to edit the config file manually. Bocas forces users to return a result (see below), so there isn't a clean way to check if the current configuration has been run. Ideally, if a configuration has been run, skip it and move on to the next if the user returns a bocas.Skip object.

if result is None:
        raise ValueError(
            "`result` returned from `run()` was `None`. "
            "Did you forget a return statement?"
        )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions