Skip to content

Commit

Permalink
only display unique contrasts
Browse files Browse the repository at this point in the history
  • Loading branch information
mayofaulkner committed Dec 6, 2024
1 parent 266fa73 commit cba9e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainbox/behavior/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def get_training_status(trials, task_protocol, ephys_sess_dates, n_delay):

# Case when all sessions are trainingChoiceWorld
if np.all(np.array(task_protocol) == 'training'):
signed_contrast = get_signed_contrast(trials_all)
signed_contrast = np.unique(get_signed_contrast(trials_all))
(info.perf_easy, info.n_trials,
info.psych, info.rt) = compute_training_info(trials, trials_all)

Expand Down

0 comments on commit cba9e03

Please sign in to comment.