Skip to content

Commit

Permalink
Resolves #757
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Apr 15, 2024
1 parent 9493f60 commit 3172228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibllib/pipes/mesoscope_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def _run(self, run_suite2p=True, rename_files=True, use_badframes=True, **kwargs
""" Bad frames """
qc_paths = (self.session_path.joinpath(f[1], 'exptQC.mat')
for f in self.input_files if f[0] == 'exptQC.mat')
qc_paths = map(str, filter(Path.exists, qc_paths))
qc_paths = sorted(map(str, filter(Path.exists, qc_paths)))
exptQC = [loadmat(p, squeeze_me=True, simplify_cells=True) for p in qc_paths]
if len(exptQC) > 0:
frameQC, frameQC_names, bad_frames = self._consolidate_exptQC(exptQC)
Expand Down

0 comments on commit 3172228

Please sign in to comment.