Skip to content

Commit

Permalink
Merge branch 'release/2.12.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
mayofaulkner committed May 27, 2022
2 parents f3148d0 + 7ac90a1 commit 810282c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ibllib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.12.1"
__version__ = "2.12.2"
import warnings

from ibllib.misc import logger_config
Expand Down
5 changes: 4 additions & 1 deletion ibllib/pipes/training_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def plot_performance_easy_median_reaction_time(df, subject):

y2 = {'column': 'combined_reaction_time',
'title': 'Median reaction time (s)',
'lim': [0.1, np.max([10, np.max(df.combined_reaction_time.values)])],
'lim': [0.1, np.nanmax([10, np.nanmax(df.combined_reaction_time.values)])],
'log': True}
ax = plot_over_days(df, y1, y2, subject)

Expand Down Expand Up @@ -548,6 +548,9 @@ def make_plots(session_path, one, df=None, save=False, upload=False):

df = df[df['task_protocol'] != 'habituation']

if len(df) == 0:
return

ax1 = plot_trial_count_and_session_duration(df, subject)
ax2 = plot_performance_easy_median_reaction_time(df, subject)
ax3 = plot_heatmap_performance_over_days(df, subject)
Expand Down
2 changes: 2 additions & 0 deletions release_notes.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Release Notes 2.12
## Release Noter 2.12.2 2022-05-27
- Fixes to plotting in training_status

## Release Notes 2.12.1 2022-05-26
- ibllib.pipes.training_status: pipeline to compute training status of mice on local servers, new TrainingStatus task (Mayo)
Expand Down

0 comments on commit 810282c

Please sign in to comment.