Skip to content

Commit 5b7bdc1

Browse files
committed
sort missing sessions by date
1 parent d167c55 commit 5b7bdc1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ibllib/pipes/training_status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def check_up_to_date(subj_path, df):
390390
# recorded_session_paths = df['session_path'].values
391391
isin, _ = ismember(df_session.date.unique(), df.date.unique())
392392
missing_dates = df_session.date.unique()[~isin]
393-
return df_session[df_session['date'].isin(missing_dates)]
393+
return df_session[df_session['date'].isin(missing_dates)].sort_values('date')
394394

395395

396396
def plot_trial_count_and_session_duration(df, subject):

release_notes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
## Release Notes 2.12
2+
### develop
3+
- ibllib.pipes.training_status: pipeline to compute training status of mice on local servers, new TrainingStatus task
24

35
### Release Notes 2.12.0 2022-05-10
46
- ibllib.atlas: add the Swanson flatmap backend (Olivier)

0 commit comments

Comments
 (0)