Skip to content

random rewards broken in manual control #106

@leoscholl

Description

@leoscholl
Traceback (most recent call last):
  File "/home/leo/code/brain-python-interface/riglib/fsm/fsm/fsm.py", line 154, in run
    self.fsm_tick()
  File "/home/leo/code/brain-python-interface/riglib/fsm/fsm/fsm.py", line 187, in fsm_tick
    if self.test_state_transition_event(event): # if the event has occurred
  File "/home/leo/code/brain-python-interface/riglib/fsm/fsm/fsm.py", line 209, in test_state_transition_event
    return event_test_fn(time_since_state_started)
  File "/home/leo/code/brain-python-interface/built_in_tasks/manualcontrolmultitasks.py", line 75, in _test_trial_complete
    if not self.rand_reward_set_flag: #reward time has not been set for this iteration
AttributeError: 'ManualControl' object has no attribute 'rand_reward_set_flag'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions