From 2fc29b12965d436340c48efad4dea9a52d22dfea Mon Sep 17 00:00:00 2001 From: Vonka Jakub Date: Mon, 24 Oct 2022 19:21:21 +0200 Subject: [PATCH] fixed path in run_info --- src/cristallina/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cristallina/utils.py b/src/cristallina/utils.py index 3bc388c..a8574f2 100644 --- a/src/cristallina/utils.py +++ b/src/cristallina/utils.py @@ -15,7 +15,7 @@ def scan_info(run_number,base_path=None,small_data=True): if base_path == None: base_path = heuristic_extract_base_path() - scan = SFScanInfo(f"{base_path}/run{run_number:04}/meta/scan.json") + scan = SFScanInfo(f"{base_path}run{run_number:04}/meta/scan.json") if small_data: for i in range(len(scan.readbacks)):