models.board.board_task

Overview

Enumerates Bpod BoardTask supported operations.

Implementation

class pybpodgui_api.models.setup.board_task.BoardTask(setup)[source]

Represents the association between one board and one task

Variables:setup (Setup) – Setup to which the BoardTask belongs to
create_variable(name=None, value=None, datatype='string')[source]

Create a variable

Return type:TaskVariable
load(data)[source]

Load setup data from filesystem

Variables:
  • setup_path (str) – Path of the setup
  • data (dict) – data object that contains all setup info
save()[source]

Save board task data on filesystem.

Variables:setup_path (str) – Setup path.
Returns:Dictionary containing the board task info to save.
Return type:dict
board

Get and set the board

Return type:Board
task

Get and set the Task

Return type:Task
update_variables

Get and set a flag that indicates if the variables should be updated at the end of the session

Return type:bool
variables

Get and set list of variables

Return type:list(TaskVariable)