diff --git a/dap/algos/spiana.py b/dap/algos/spiana.py index 5a80484..6cbd2dc 100644 --- a/dap/algos/spiana.py +++ b/dap/algos/spiana.py @@ -6,7 +6,7 @@ def calc_spi_analysis(results, data): if not do_spi_analysis: return - for k in ("spi_threshold_photon", "spi_threshold_hit", "roi_x1", "roi_x2", "roi_y1", "roi_y2"): + for k in ("spi_threshold_photon", "spi_threshold_hit_percentage", "roi_x1", "roi_x2", "roi_y1", "roi_y2"): if k not in results: return