diff --git a/ibllib/__init__.py b/ibllib/__init__.py index ced9677a9..dd65637e3 100644 --- a/ibllib/__init__.py +++ b/ibllib/__init__.py @@ -2,7 +2,7 @@ import logging import warnings -__version__ = '2.40.1' +__version__ = '2.40.2' warnings.filterwarnings('always', category=DeprecationWarning, module='ibllib') # if this becomes a full-blown library we should let the logging configuration to the discretion of the dev diff --git a/ibllib/pipes/mesoscope_tasks.py b/ibllib/pipes/mesoscope_tasks.py index 2547bdc96..d46aa8cec 100644 --- a/ibllib/pipes/mesoscope_tasks.py +++ b/ibllib/pipes/mesoscope_tasks.py @@ -790,7 +790,7 @@ def _run(self, rename_files=True, use_badframes=True, **kwargs): # If applicable, save as bad_frames.npy in first raw_imaging_folder for suite2p # badframes.mat contains QC values that do affect ROI detection (e.g. no PMT, lens artefacts) - badframes = np.array([], dtype='i8') + badframes = np.array([], dtype='uint32') total_frames = 0 # Ensure all indices are relative to total cumulative frames for m, collection in zip(all_meta, raw_image_collections): diff --git a/release_notes.md b/release_notes.md index de1077ce0..d25c71d7e 100644 --- a/release_notes.md +++ b/release_notes.md @@ -7,6 +7,9 @@ #### 2.40.1 - Bugfix: ibllib.io.sess_params.merge_params supports tasks extractors key +#### 2.40.2 +- Bugfix: badframes array dtype change int8 -> uint32 + ## Release Note 2.39.0 ### features @@ -21,7 +24,7 @@ #### 2.39.1 - Bugfix: brainbox.metrics.single_unit.quick_unit_metrics fix for indexing of n_spike_below2 -- + #### 2.39.2 - Bugfix: routing of protocol to extractor through the project repository checks that the target is indeed an extractor class.