Skip to content

Commit

Permalink
Update task_qc.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Dec 17, 2024
1 parent 74c6fda commit ad682fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ibllib/qc/task_qc_viewer/task_qc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down

0 comments on commit ad682fe

Please sign in to comment.