Skip to content

Commit e6c115f

Browse files
committed
fix: ensure Path object usage in dynamic_pipeline session path check
1 parent 06052a1 commit e6c115f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibllib/pipes/dynamic_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def _load_acquisition_description(session_path):
187187
try:
188188
# v7 sessions used a different folder name for task data;
189189
# v8 sessions should always have a description file
190-
assert session_path.joinpath('raw_behavior_data').exists()
190+
assert Path(session_path).joinpath('raw_behavior_data').exists()
191191
acquisition_description = acquisition_description_legacy_session(session_path)
192192
assert acquisition_description
193193
except (AssertionError, ValueError):

0 commit comments

Comments
 (0)