From f5aad61f78d3d1510effe14e8c9f26066233e833 Mon Sep 17 00:00:00 2001 From: Miles Wells Date: Mon, 18 Dec 2023 15:11:16 +0200 Subject: [PATCH] Fix tests --- ibllib/io/extractors/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibllib/io/extractors/base.py b/ibllib/io/extractors/base.py index a798e2467..05ef4e05a 100644 --- a/ibllib/io/extractors/base.py +++ b/ibllib/io/extractors/base.py @@ -249,7 +249,7 @@ def get_task_protocol(session_path, task_collection='raw_behavior_data'): The Pybpod task protocol name or None if not found. """ try: - settings = load_settings(get_session_path(session_path), task_collection=task_collection) + settings = load_settings(session_path, task_collection=task_collection) except json.decoder.JSONDecodeError: _logger.error(f'Can\'t read settings for {session_path}') return