Skip to content

Commit

Permalink
Fix path/str bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bjhardcastle committed May 22, 2024
1 parent 03c581f commit 5f03e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion np_notebooks
2 changes: 1 addition & 1 deletion src/np_workflows/shared/base_experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ def run_script(self, stim: Literal['sound_test', 'mapping', 'task', 'opto', 'opt
params['mouse_id'] = str(self.mouse.id)
params['user_id'] = self.user.id if self.user else 'ben.hardcastle'

if self.task_script_base not in params['taskScript']:
if self.task_script_base.as_posix() not in params['taskScript']:
params['taskScript'] = (self.task_script_base / params['taskScript']).as_posix()

if self.is_pretest:
Expand Down

0 comments on commit 5f03e68

Please sign in to comment.