diff --git a/src/cristallina/utils.py b/src/cristallina/utils.py index 4bfa77b..e665a9c 100644 --- a/src/cristallina/utils.py +++ b/src/cristallina/utils.py @@ -97,7 +97,7 @@ def print_run_info( break def number_of_steps(scan_number_or_scan): """Returns number of steps for a scan object or run number""" - scan = cu.get_scan_from_run_number_or_scan(scan_number_or_scan) + scan = get_scan_from_run_number_or_scan(scan_number_or_scan) return len(scan.info['scan_readbacks']) def process_run(run_number, rois,detector='JF16T03V01', calculate =None, only_shots=slice(None), n_jobs=cpu_count()-2):