Skip to content

Commit

Permalink
Add a logging message if the training status is set manually
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Jul 27, 2023
1 parent 8d317cc commit b34d8f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iblrig/base_choice_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,8 @@ def __init__(self, training_phase=-1, **kwargs):
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
else:
self.logger.warning(f"Training phase manually set to: {training_phase}")
self.training_phase = training_phase
self.var = {
"training_phase_trial_counts": np.zeros(6),
Expand Down

0 comments on commit b34d8f1

Please sign in to comment.