From a9f8a8649238fef767da29c61f030b3383934026 Mon Sep 17 00:00:00 2001 From: bjhardcastle Date: Mon, 8 Apr 2024 09:34:55 -0700 Subject: [PATCH] Fix typo in previous --- np_notebooks | 2 +- src/np_workflows/shared/base_experiments.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/np_notebooks b/np_notebooks index 77e725c..0e741fa 160000 --- a/np_notebooks +++ b/np_notebooks @@ -1 +1 @@ -Subproject commit 77e725cb7b1923703309868fb89cdaefe68e08ae +Subproject commit 0e741fa23fc6b4c4d8762bce75f2178bd584f9ea diff --git a/src/np_workflows/shared/base_experiments.py b/src/np_workflows/shared/base_experiments.py index 92254f2..f0715c3 100644 --- a/src/np_workflows/shared/base_experiments.py +++ b/src/np_workflows/shared/base_experiments.py @@ -601,7 +601,7 @@ def get_latest_optogui_txt(self, opto_or_optotagging: Literal['opto', 'optotaggi dirname = dict(opto='optoParams', optotagging='optotagging')[opto_or_optotagging] file_prefix = dirname - rig = str(self.rig).replace('.', '')def + rig = str(self.rig).replace('.', '') locs_root = self.base_path / 'OptoGui' / f'{dirname}' available_locs = sorted(tuple(locs_root.glob(f"{file_prefix}_{self.mouse.id}_{rig}_*")), reverse=True) if not available_locs: