From 7d13eefe0f2935fbd3d203876c93745b2fc58a1e Mon Sep 17 00:00:00 2001 From: Thinh Nguyen Date: Thu, 18 Apr 2024 12:13:24 -0500 Subject: [PATCH] fix: bugfix getting abs path --- element_calcium_imaging/field_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/element_calcium_imaging/field_processing.py b/element_calcium_imaging/field_processing.py index e1094ec0..63f504eb 100644 --- a/element_calcium_imaging/field_processing.py +++ b/element_calcium_imaging/field_processing.py @@ -115,7 +115,7 @@ def make(self, key): ) image_file = (scan.ScanInfo.ScanFile & key).fetch("file_path", limit=1)[0] - pv_dir = pathlib.Path(image_file).parent + pv_dir = find_full_path(scan.get_imaging_root_data_dir(), image_file).parent PVmeta = PrairieViewMeta(pv_dir) channel = (