From ad682fea463a6d1e0d6aaf9b785ff61bfc66b0da Mon Sep 17 00:00:00 2001 From: Florian Rau Date: Tue, 17 Dec 2024 15:51:27 +0000 Subject: [PATCH] Update task_qc.py --- ibllib/qc/task_qc_viewer/task_qc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ibllib/qc/task_qc_viewer/task_qc.py b/ibllib/qc/task_qc_viewer/task_qc.py index 7b75589a4..b9f212a5c 100644 --- a/ibllib/qc/task_qc_viewer/task_qc.py +++ b/ibllib/qc/task_qc_viewer/task_qc.py @@ -241,7 +241,8 @@ def show_session_task_qc(qc_or_session=None, bpod_only=False, local=False, one=N if isinstance(qc_or_session, QcFrame): qc = qc_or_session elif isinstance(qc_or_session, TaskQC): - qc = QcFrame(qc_or_session) + task_qc = qc_or_session + qc = QcFrame(task_qc) else: # assumed to be eid or session path one = one or ONE(mode='local' if local else 'auto') if not is_session_path(Path(qc_or_session)):