Skip to content

Commit

Permalink
correct function
Browse files Browse the repository at this point in the history
  • Loading branch information
mayofaulkner committed Dec 6, 2024
1 parent f8bed5a commit 68ffd2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ibllib/pipes/training_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,7 @@ def compute_training_status(df, compute_date, one, force=True, populate=True):
ephys_sessions.append(df_date.iloc[-1]['date'])

n_status = np.max([-2, -1 * len(status)])
#training_status, info, criteria = training.get_training_status(trials, protocol, ephys_sessions, n_delay)
training_status, info, criteria = get_training_status(trials, protocol, ephys_sessions, n_delay)
training_status, info, criteria = training.get_training_status(trials, protocol, ephys_sessions, n_delay)
training_status = pass_through_training_hierachy(training_status, status[n_status])
if populate:
df.loc[df['date'] == compute_date, 'training_status'] = training_status
Expand Down

0 comments on commit 68ffd2d

Please sign in to comment.