diff --git a/ibllib/pipes/ephys_tasks.py b/ibllib/pipes/ephys_tasks.py index c396fc5e0..9df0053bb 100644 --- a/ibllib/pipes/ephys_tasks.py +++ b/ibllib/pipes/ephys_tasks.py @@ -853,5 +853,5 @@ def _run(self): chns = np.load(probe_out_path.joinpath('channels.localCoordinates.npy')) out = get_aligned_channels(ins[0], chns, one=self.one, save_dir=probe_out_path) out_files.extend(out) - self.assert_expected_outputs() - return out_files + self.assert_expected_outputs() + return sorted(list(set(out_files)))