diff --git a/_autosummary/ibllib.pipes.tasks.html b/_autosummary/ibllib.pipes.tasks.html index 7e3a959d..121aa83f 100644 --- a/_autosummary/ibllib.pipes.tasks.html +++ b/_autosummary/ibllib.pipes.tasks.html @@ -250,7 +250,7 @@
-class Task(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, **kwargs)[source]
+class Task(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs)[source]

Bases: ABC

@@ -299,7 +299,7 @@
-version = '2.40.2'
+version = '3.1.0'
@@ -317,6 +317,11 @@ env = None
+
+
+on_error = 'continue'
+
+
one = None
diff --git a/_autosummary/ibllib.tests.test_tasks.html b/_autosummary/ibllib.tests.test_tasks.html index f99fd601..1181963f 100644 --- a/_autosummary/ibllib.tests.test_tasks.html +++ b/_autosummary/ibllib.tests.test_tasks.html @@ -203,7 +203,7 @@
-class Task00(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, **kwargs)[source]
+class Task00(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs)[source]

Bases: Task

@@ -214,13 +214,13 @@
-class Task01_void(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, **kwargs)[source]
+class Task01_void(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs)[source]

Bases: Task

-class Task02_error(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, **kwargs)[source]
+class Task02_error(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs)[source]

Bases: Task

@@ -231,7 +231,7 @@
-class Task10(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, **kwargs)[source]
+class Task10(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs)[source]

Bases: Task

@@ -242,7 +242,7 @@
-class Task11(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, **kwargs)[source]
+class Task11(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs)[source]

Bases: Task

@@ -253,7 +253,7 @@
-class TaskGpuLock(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, **kwargs)[source]
+class TaskGpuLock(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs)[source]

Bases: Task

@@ -270,7 +270,7 @@
-class TaskIncomplete(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, **kwargs)[source]
+class TaskIncomplete(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs)[source]

Bases: Task

@@ -305,7 +305,7 @@
-class GpuTask(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, **kwargs)[source]
+class GpuTask(session_path, parents=None, taskid=None, one=None, machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs)[source]

Bases: Task

diff --git a/_images/notebooks_external_Working_with_ibllib_atlas_10_1.png b/_images/notebooks_external_Working_with_ibllib_atlas_10_1.png index 56e7327f..6a814a06 100644 Binary files a/_images/notebooks_external_Working_with_ibllib_atlas_10_1.png and b/_images/notebooks_external_Working_with_ibllib_atlas_10_1.png differ diff --git a/_images/notebooks_external_Working_with_ibllib_atlas_7_1.png b/_images/notebooks_external_Working_with_ibllib_atlas_7_1.png index 09f22953..e6993a82 100644 Binary files a/_images/notebooks_external_Working_with_ibllib_atlas_7_1.png and b/_images/notebooks_external_Working_with_ibllib_atlas_7_1.png differ diff --git a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_10_1.png b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_10_1.png index 92f2ac94..2af9c718 100644 Binary files a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_10_1.png and b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_10_1.png differ diff --git a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_17_0.png b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_17_0.png index 73782fb7..2b1a292b 100644 Binary files a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_17_0.png and b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_17_0.png differ diff --git a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_18_0.png b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_18_0.png index c299b5ed..cad5f3d7 100644 Binary files a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_18_0.png and b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_18_0.png differ diff --git a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_19_0.png b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_19_0.png index bcc44b6d..38b0e79d 100644 Binary files a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_19_0.png and b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_19_0.png differ diff --git a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_20_0.png b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_20_0.png index 9b66d6ba..be318d94 100644 Binary files a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_20_0.png and b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_20_0.png differ diff --git a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_5_2.png b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_5_2.png index 143f38a9..12ad8dc3 100644 Binary files a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_5_2.png and b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_5_2.png differ diff --git a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_7_1.png b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_7_1.png index 7d5f3a11..755ad039 100644 Binary files a/_images/notebooks_external_atlas_circular_pyramidal_flatmap_7_1.png and b/_images/notebooks_external_atlas_circular_pyramidal_flatmap_7_1.png differ diff --git a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_13_0.png b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_13_0.png index 0e82995b..3279e5cb 100644 Binary files a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_13_0.png and b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_13_0.png differ diff --git a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_14_0.png b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_14_0.png index f9c4769a..7d8ebb08 100644 Binary files a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_14_0.png and b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_14_0.png differ diff --git a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_15_0.png b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_15_0.png index ad1bea27..79996728 100644 Binary files a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_15_0.png and b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_15_0.png differ diff --git a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_16_0.png b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_16_0.png index a5bcfd00..1d272e22 100644 Binary files a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_16_0.png and b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_16_0.png differ diff --git a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_5_1.png b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_5_1.png index ea05e0cc..061b36d2 100644 Binary files a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_5_1.png and b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_5_1.png differ diff --git a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_6_1.png b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_6_1.png index 9d867a77..68c0a515 100644 Binary files a/_images/notebooks_external_atlas_dorsal_cortex_flatmap_6_1.png and b/_images/notebooks_external_atlas_dorsal_cortex_flatmap_6_1.png differ diff --git a/_images/notebooks_external_atlas_genomics_load_merfish_1_0.png b/_images/notebooks_external_atlas_genomics_load_merfish_1_0.png index e3c0b434..dc62470d 100644 Binary files a/_images/notebooks_external_atlas_genomics_load_merfish_1_0.png and b/_images/notebooks_external_atlas_genomics_load_merfish_1_0.png differ diff --git a/_images/notebooks_external_atlas_mapping_3_0.png b/_images/notebooks_external_atlas_mapping_3_0.png index bac52aee..cc411a74 100644 Binary files a/_images/notebooks_external_atlas_mapping_3_0.png and b/_images/notebooks_external_atlas_mapping_3_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_points_on_slice_11_0.png b/_images/notebooks_external_atlas_plotting_points_on_slice_11_0.png index 1438ea9e..63634897 100644 Binary files a/_images/notebooks_external_atlas_plotting_points_on_slice_11_0.png and b/_images/notebooks_external_atlas_plotting_points_on_slice_11_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_points_on_slice_15_1.png b/_images/notebooks_external_atlas_plotting_points_on_slice_15_1.png index efd19d4e..60bcc821 100644 Binary files a/_images/notebooks_external_atlas_plotting_points_on_slice_15_1.png and b/_images/notebooks_external_atlas_plotting_points_on_slice_15_1.png differ diff --git a/_images/notebooks_external_atlas_plotting_points_on_slice_16_0.png b/_images/notebooks_external_atlas_plotting_points_on_slice_16_0.png index 061d42b9..f4b630ed 100644 Binary files a/_images/notebooks_external_atlas_plotting_points_on_slice_16_0.png and b/_images/notebooks_external_atlas_plotting_points_on_slice_16_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_points_on_slice_17_0.png b/_images/notebooks_external_atlas_plotting_points_on_slice_17_0.png index cda14c84..a0f82249 100644 Binary files a/_images/notebooks_external_atlas_plotting_points_on_slice_17_0.png and b/_images/notebooks_external_atlas_plotting_points_on_slice_17_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_points_on_slice_7_0.png b/_images/notebooks_external_atlas_plotting_points_on_slice_7_0.png index 9564cc36..7a7ff02a 100644 Binary files a/_images/notebooks_external_atlas_plotting_points_on_slice_7_0.png and b/_images/notebooks_external_atlas_plotting_points_on_slice_7_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_scalar_on_slice_12_0.png b/_images/notebooks_external_atlas_plotting_scalar_on_slice_12_0.png index 4f6a5dda..008b9d51 100644 Binary files a/_images/notebooks_external_atlas_plotting_scalar_on_slice_12_0.png and b/_images/notebooks_external_atlas_plotting_scalar_on_slice_12_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_scalar_on_slice_13_0.png b/_images/notebooks_external_atlas_plotting_scalar_on_slice_13_0.png index 16afa618..d0d4edcf 100644 Binary files a/_images/notebooks_external_atlas_plotting_scalar_on_slice_13_0.png and b/_images/notebooks_external_atlas_plotting_scalar_on_slice_13_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_scalar_on_slice_14_0.png b/_images/notebooks_external_atlas_plotting_scalar_on_slice_14_0.png index 36494df1..3e8d8b73 100644 Binary files a/_images/notebooks_external_atlas_plotting_scalar_on_slice_14_0.png and b/_images/notebooks_external_atlas_plotting_scalar_on_slice_14_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_scalar_on_slice_16_0.png b/_images/notebooks_external_atlas_plotting_scalar_on_slice_16_0.png index 8ff5533c..e59d8840 100644 Binary files a/_images/notebooks_external_atlas_plotting_scalar_on_slice_16_0.png and b/_images/notebooks_external_atlas_plotting_scalar_on_slice_16_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_scalar_on_slice_17_0.png b/_images/notebooks_external_atlas_plotting_scalar_on_slice_17_0.png index e0320a21..adf34c1f 100644 Binary files a/_images/notebooks_external_atlas_plotting_scalar_on_slice_17_0.png and b/_images/notebooks_external_atlas_plotting_scalar_on_slice_17_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_scalar_on_slice_19_0.png b/_images/notebooks_external_atlas_plotting_scalar_on_slice_19_0.png index 49c8ab7f..e269f8aa 100644 Binary files a/_images/notebooks_external_atlas_plotting_scalar_on_slice_19_0.png and b/_images/notebooks_external_atlas_plotting_scalar_on_slice_19_0.png differ diff --git a/_images/notebooks_external_atlas_plotting_scalar_on_slice_21_1.png b/_images/notebooks_external_atlas_plotting_scalar_on_slice_21_1.png index 222d5d4e..f1c77154 100644 Binary files a/_images/notebooks_external_atlas_plotting_scalar_on_slice_21_1.png and b/_images/notebooks_external_atlas_plotting_scalar_on_slice_21_1.png differ diff --git a/_images/notebooks_external_atlas_swanson_flatmap_13_2.png b/_images/notebooks_external_atlas_swanson_flatmap_13_2.png index 72bb59ed..f1191d52 100644 Binary files a/_images/notebooks_external_atlas_swanson_flatmap_13_2.png and b/_images/notebooks_external_atlas_swanson_flatmap_13_2.png differ diff --git a/_images/notebooks_external_atlas_swanson_flatmap_13_3.png b/_images/notebooks_external_atlas_swanson_flatmap_13_3.png index e8108d7a..7c28f8d1 100644 Binary files a/_images/notebooks_external_atlas_swanson_flatmap_13_3.png and b/_images/notebooks_external_atlas_swanson_flatmap_13_3.png differ diff --git a/_images/notebooks_external_atlas_swanson_flatmap_15_2.png b/_images/notebooks_external_atlas_swanson_flatmap_15_2.png index 36ef590d..c15d7d34 100644 Binary files a/_images/notebooks_external_atlas_swanson_flatmap_15_2.png and b/_images/notebooks_external_atlas_swanson_flatmap_15_2.png differ diff --git a/_images/notebooks_external_atlas_swanson_flatmap_17_2.png b/_images/notebooks_external_atlas_swanson_flatmap_17_2.png index 1bf3efd0..60e9591e 100644 Binary files a/_images/notebooks_external_atlas_swanson_flatmap_17_2.png and b/_images/notebooks_external_atlas_swanson_flatmap_17_2.png differ diff --git a/_images/notebooks_external_atlas_swanson_flatmap_19_2.png b/_images/notebooks_external_atlas_swanson_flatmap_19_2.png index 5eb180a4..7524fc79 100644 Binary files a/_images/notebooks_external_atlas_swanson_flatmap_19_2.png and b/_images/notebooks_external_atlas_swanson_flatmap_19_2.png differ diff --git a/_images/notebooks_external_atlas_swanson_flatmap_23_1.png b/_images/notebooks_external_atlas_swanson_flatmap_23_1.png index b285b453..635e438b 100644 Binary files a/_images/notebooks_external_atlas_swanson_flatmap_23_1.png and b/_images/notebooks_external_atlas_swanson_flatmap_23_1.png differ diff --git a/_images/notebooks_external_atlas_swanson_flatmap_25_1.png b/_images/notebooks_external_atlas_swanson_flatmap_25_1.png index 4fe4a54d..a82b0443 100644 Binary files a/_images/notebooks_external_atlas_swanson_flatmap_25_1.png and b/_images/notebooks_external_atlas_swanson_flatmap_25_1.png differ diff --git a/_images/notebooks_external_atlas_swanson_flatmap_27_2.png b/_images/notebooks_external_atlas_swanson_flatmap_27_2.png index 45b30255..b3099f1f 100644 Binary files a/_images/notebooks_external_atlas_swanson_flatmap_27_2.png and b/_images/notebooks_external_atlas_swanson_flatmap_27_2.png differ diff --git a/_images/notebooks_external_atlas_swanson_flatmap_3_1.png b/_images/notebooks_external_atlas_swanson_flatmap_3_1.png index 1479ab2b..a18a9e2b 100644 Binary files a/_images/notebooks_external_atlas_swanson_flatmap_3_1.png and b/_images/notebooks_external_atlas_swanson_flatmap_3_1.png differ diff --git a/_images/notebooks_external_atlas_working_with_ibllib_atlas_10_1.png b/_images/notebooks_external_atlas_working_with_ibllib_atlas_10_1.png index 56e7327f..6a814a06 100644 Binary files a/_images/notebooks_external_atlas_working_with_ibllib_atlas_10_1.png and b/_images/notebooks_external_atlas_working_with_ibllib_atlas_10_1.png differ diff --git a/_images/notebooks_external_atlas_working_with_ibllib_atlas_7_1.png b/_images/notebooks_external_atlas_working_with_ibllib_atlas_7_1.png index 09f22953..e6993a82 100644 Binary files a/_images/notebooks_external_atlas_working_with_ibllib_atlas_7_1.png and b/_images/notebooks_external_atlas_working_with_ibllib_atlas_7_1.png differ diff --git a/_images/notebooks_external_docs_wheel_moves_11_0.png b/_images/notebooks_external_docs_wheel_moves_11_0.png index 5f6df38a..8217ddab 100644 Binary files a/_images/notebooks_external_docs_wheel_moves_11_0.png and b/_images/notebooks_external_docs_wheel_moves_11_0.png differ diff --git a/_images/notebooks_external_docs_wheel_moves_14_0.png b/_images/notebooks_external_docs_wheel_moves_14_0.png index 489f84e5..f2a4c120 100644 Binary files a/_images/notebooks_external_docs_wheel_moves_14_0.png and b/_images/notebooks_external_docs_wheel_moves_14_0.png differ diff --git a/_images/notebooks_external_docs_wheel_moves_20_0.png b/_images/notebooks_external_docs_wheel_moves_20_0.png index 4c54fc4e..bcc4fc1e 100644 Binary files a/_images/notebooks_external_docs_wheel_moves_20_0.png and b/_images/notebooks_external_docs_wheel_moves_20_0.png differ diff --git a/_images/notebooks_external_docs_wheel_moves_23_1.png b/_images/notebooks_external_docs_wheel_moves_23_1.png index 2aafd09a..757c5cff 100644 Binary files a/_images/notebooks_external_docs_wheel_moves_23_1.png and b/_images/notebooks_external_docs_wheel_moves_23_1.png differ diff --git a/_images/notebooks_external_docs_wheel_moves_27_0.png b/_images/notebooks_external_docs_wheel_moves_27_0.png index 798695ee..7bf34178 100644 Binary files a/_images/notebooks_external_docs_wheel_moves_27_0.png and b/_images/notebooks_external_docs_wheel_moves_27_0.png differ diff --git a/_images/notebooks_external_docs_wheel_moves_29_0.png b/_images/notebooks_external_docs_wheel_moves_29_0.png index 071228d0..0ba40293 100644 Binary files a/_images/notebooks_external_docs_wheel_moves_29_0.png and b/_images/notebooks_external_docs_wheel_moves_29_0.png differ diff --git a/_images/notebooks_external_docs_wheel_moves_31_0.png b/_images/notebooks_external_docs_wheel_moves_31_0.png index 24395e64..88081567 100644 Binary files a/_images/notebooks_external_docs_wheel_moves_31_0.png and b/_images/notebooks_external_docs_wheel_moves_31_0.png differ diff --git a/_images/notebooks_external_docs_wheel_screen_stimulus_28_1.png b/_images/notebooks_external_docs_wheel_screen_stimulus_28_1.png index 32837196..ec71b8ea 100644 Binary files a/_images/notebooks_external_docs_wheel_screen_stimulus_28_1.png and b/_images/notebooks_external_docs_wheel_screen_stimulus_28_1.png differ diff --git a/_images/notebooks_external_loading_ephys_data_17_0.png b/_images/notebooks_external_loading_ephys_data_17_0.png index db00e420..a1437434 100644 Binary files a/_images/notebooks_external_loading_ephys_data_17_0.png and b/_images/notebooks_external_loading_ephys_data_17_0.png differ diff --git a/_images/notebooks_external_loading_raw_ephys_data_18_1.png b/_images/notebooks_external_loading_raw_ephys_data_18_1.png index 3f942e1b..ecb3b0bf 100644 Binary files a/_images/notebooks_external_loading_raw_ephys_data_18_1.png and b/_images/notebooks_external_loading_raw_ephys_data_18_1.png differ diff --git a/_images/notebooks_external_loading_raw_ephys_data_9_1.png b/_images/notebooks_external_loading_raw_ephys_data_9_1.png index e80fdc12..026d442c 100644 Binary files a/_images/notebooks_external_loading_raw_ephys_data_9_1.png and b/_images/notebooks_external_loading_raw_ephys_data_9_1.png differ diff --git a/_images/notebooks_external_loading_spikesorting_data_22_1.png b/_images/notebooks_external_loading_spikesorting_data_22_1.png index e4daa803..1b63ba2e 100644 Binary files a/_images/notebooks_external_loading_spikesorting_data_22_1.png and b/_images/notebooks_external_loading_spikesorting_data_22_1.png differ diff --git a/_images/notebooks_external_loading_trials_data_18_0.png b/_images/notebooks_external_loading_trials_data_18_0.png index e8c7b087..277bebd8 100644 Binary files a/_images/notebooks_external_loading_trials_data_18_0.png and b/_images/notebooks_external_loading_trials_data_18_0.png differ diff --git a/_images/notebooks_external_loading_video_data_15_0.png b/_images/notebooks_external_loading_video_data_15_0.png index 7af36334..3aecbcd9 100644 Binary files a/_images/notebooks_external_loading_video_data_15_0.png and b/_images/notebooks_external_loading_video_data_15_0.png differ diff --git a/_images/notebooks_external_loading_widefield_data_8_1.png b/_images/notebooks_external_loading_widefield_data_8_1.png index 1d8fcdaf..7938abd3 100644 Binary files a/_images/notebooks_external_loading_widefield_data_8_1.png and b/_images/notebooks_external_loading_widefield_data_8_1.png differ diff --git a/_modules/brainbox/io/one.html b/_modules/brainbox/io/one.html index 9d618d90..3af0a0bb 100644 --- a/_modules/brainbox/io/one.html +++ b/_modules/brainbox/io/one.html @@ -1191,7 +1191,10 @@

Source code for brainbox.io.one

         self.download_spike_sorting_object(obj='channels', missing='ignore', **kwargs)
         channels = self._load_object(self.files['channels'], wildcards=self.one.wildcards)
         if 'electrodeSites' in self.files:  # if common dict keys, electrodeSites prevails
-            channels = channels | self._load_object(self.files['electrodeSites'], wildcards=self.one.wildcards)
+            esites = channels | self._load_object(self.files['electrodeSites'], wildcards=self.one.wildcards)
+            if alfio.check_dimensions(esites) != 0:
+                esites = self._load_object(self.files['electrodeSites'], wildcards=self.one.wildcards)
+                esites['rawInd'] = np.arange(esites[list(esites.keys())[0]].shape[0])
         if 'brainLocationIds_ccf_2017' not in channels:
             _logger.debug(f"loading channels from alyx for {self.files['channels']}")
             _channels, self.histology = _load_channel_locations_traj(
diff --git a/_modules/ibllib/oneibl/data_handlers.html b/_modules/ibllib/oneibl/data_handlers.html
index 89b320f5..47d8f5a8 100644
--- a/_modules/ibllib/oneibl/data_handlers.html
+++ b/_modules/ibllib/oneibl/data_handlers.html
@@ -722,7 +722,7 @@ 

Source code for ibllib.oneibl.data_handlers

         one = one or self.one
         session_datasets = one.list_datasets(one.path2eid(self.session_path), details=True)
         dfs = [file.filter(session_datasets)[1] for file in self.signature['input_files']]
-        return one._cache.datasets.iloc[0:0] if len(dfs) == 0 else pd.concat(dfs)
+ return one._cache.datasets.iloc[0:0] if len(dfs) == 0 else pd.concat(dfs).drop_duplicates()
diff --git a/_modules/ibllib/oneibl/registration.html b/_modules/ibllib/oneibl/registration.html index 0cfb66e0..adbab650 100644 --- a/_modules/ibllib/oneibl/registration.html +++ b/_modules/ibllib/oneibl/registration.html @@ -341,6 +341,13 @@

Source code for ibllib.oneibl.registration

             procedures = list({*experiment_description_file.get('procedures', []), *(procedures or [])})
             collections = session_params.get_task_collection(experiment_description_file)
 
+        # Read narrative.txt
+        if (narrative_file := ses_path.joinpath('narrative.txt')).exists():
+            with narrative_file.open('r') as f:
+                narrative = f.read()
+        else:
+            narrative = ''
+
         # query Alyx endpoints for subject, error if not found
         subject = self.assert_exists(subject, 'subjects')
 
@@ -421,6 +428,7 @@ 

Source code for ibllib.oneibl.registration

                     'end_time': self.ensure_ISO8601(end_time) if end_time else None,
                     'n_correct_trials': n_correct_trials,
                     'n_trials': n_trials,
+                    'narrative': narrative,
                     'json': json_field
                     }
             session = self.one.alyx.rest('sessions', 'create', data=ses_)
@@ -436,6 +444,8 @@ 

Source code for ibllib.oneibl.registration

         else:  # if session exists update a few key fields
             data = {'procedures': procedures, 'projects': projects,
                     'n_correct_trials': n_correct_trials, 'n_trials': n_trials}
+            if len(narrative) > 0:
+                data['narrative'] = narrative
             if task_protocols:
                 data['task_protocol'] = '/'.join(task_protocols)
             if end_time:
diff --git a/_modules/ibllib/pipes/local_server.html b/_modules/ibllib/pipes/local_server.html
index 91362f95..7a2bec67 100644
--- a/_modules/ibllib/pipes/local_server.html
+++ b/_modules/ibllib/pipes/local_server.html
@@ -128,6 +128,8 @@ 

Source code for ibllib.pipes.local_server

 from one.api import ONE
 from one.webclient import AlyxClient
 from one.remote.globus import get_lab_from_endpoint_id, get_local_endpoint_id
+from one.alf.spec import is_session_path
+from one.alf.path import session_path_parts
 
 from ibllib import __version__ as ibllib_version
 from ibllib.pipes import tasks
@@ -220,11 +222,15 @@ 

Source code for ibllib.pipes.local_server

     if not one:
         one = ONE(cache_rest=None)
     rc = IBLRegistrationClient(one=one)
-    flag_files = list(Path(root_path).glob('**/raw_session.flag'))
+    flag_files = Path(root_path).glob('*/????-??-??/*/raw_session.flag')
+    flag_files = filter(lambda x: is_session_path(x.parent), flag_files)
     pipes = []
     all_datasets = []
     for flag_file in flag_files:
         session_path = flag_file.parent
+        if session_path_parts(session_path)[1] in ('test', 'test_subject'):
+            _logger.debug('skipping test session %s', session_path)
+            continue
         _logger.info(f'creating session for {session_path}')
         if dry:
             continue
diff --git a/_modules/ibllib/pipes/mesoscope_tasks.html b/_modules/ibllib/pipes/mesoscope_tasks.html
index d368fdcb..70284bbb 100644
--- a/_modules/ibllib/pipes/mesoscope_tasks.html
+++ b/_modules/ibllib/pipes/mesoscope_tasks.html
@@ -942,8 +942,8 @@ 

Source code for ibllib.pipes.mesoscope_tasks

for m, collection in zip(all_meta, raw_image_collections):
             badframes_path = self.session_path.joinpath(collection, 'badframes.mat')
             if badframes_path.exists():
-                raw_mat = loadmat(badframes_path, squeeze_me=True, simplify_cells=True)['badframes']
-                badframes = np.r_[badframes, raw_mat + total_frames]
+                raw_mat = loadmat(badframes_path, squeeze_me=True, simplify_cells=True)
+                badframes = np.r_[badframes, raw_mat['badframes'].astype('uint32') + total_frames]
             total_frames += m['nFrames']
         if len(badframes) > 0 and use_badframes is True:
             # The badframes array should always be a subset of the frameQC array
diff --git a/_modules/ibllib/pipes/tasks.html b/_modules/ibllib/pipes/tasks.html
index bb5ce5aa..f23dc326 100644
--- a/_modules/ibllib/pipes/tasks.html
+++ b/_modules/ibllib/pipes/tasks.html
@@ -225,9 +225,10 @@ 

Source code for ibllib.pipes.tasks

     force = False  # whether to re-download missing input files on local server if not present
     job_size = 'small'  # either 'small' or 'large', defines whether task should be run as part of the large or small job services
     env = None  # the environment name within which to run the task (NB: the env is not activated automatically!)
+    on_error = 'continue'  # whether to raise an exception on error ('raise') or report the error and continue ('continue')
 
     def __init__(self, session_path, parents=None, taskid=None, one=None,
-                 machine=None, clobber=True, location='server', scratch_folder=None, **kwargs):
+                 machine=None, clobber=True, location='server', scratch_folder=None, on_error='continue', **kwargs):
         """
         Base task class
         :param session_path: session path
@@ -242,6 +243,7 @@ 

Source code for ibllib.pipes.tasks

         :param scratch_folder: optional: Path where to write intermediate temporary data
         :param args: running arguments
         """
+        self.on_error = on_error
         self.taskid = taskid
         self.one = one
         self.session_path = session_path
@@ -381,10 +383,12 @@ 

Source code for ibllib.pipes.tasks

                 self.outputs = outputs if not self.outputs else self.outputs  # ensure None if no inputs registered
             else:
                 self.outputs.extend(ensure_list(outputs))  # Add output files to list of inputs to register
-        except Exception:
+        except Exception as e:
             _logger.error(traceback.format_exc())
             _logger.info(f'Job {self.__class__} errored')
             self.status = -1
+            if self.on_error == 'raise':
+                raise e
 
         self.time_elapsed_secs = time.time() - start_time
         # log the outputs
diff --git a/genindex.html b/genindex.html
index 80ffbfc4..8e27b0cf 100644
--- a/genindex.html
+++ b/genindex.html
@@ -3748,6 +3748,8 @@ 

N

O