Skip to content

Commit

Permalink
set default training phase to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Sep 1, 2023
1 parent 9402d22 commit cfd43e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iblrig/base_choice_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,8 +687,8 @@ def __init__(self, training_phase=-1, **kwargs):
self.logger.warning(f"Got training phase: {training_phase}")
except Exception:
self.logger.warning(f"Could not get training phase from Alyx: {traceback.format_exc()}, please set it"
f"manually in ./iblrig_tasks/_iblrig_tasks_trainingChoiceWorld/task.py default is phase is 5")
training_phase = 5
f"manually in ./iblrig_tasks/_iblrig_tasks_trainingChoiceWorld/task.py default is phase is 0")
training_phase = 0
else:
self.logger.warning(f"Training phase manually set to: {training_phase}")
self.training_phase = training_phase
Expand Down

0 comments on commit cfd43e5

Please sign in to comment.