diff --git a/script/local.py b/script/local.py index 4a3eb89b..260aa0bb 100644 --- a/script/local.py +++ b/script/local.py @@ -295,9 +295,10 @@ def before_readout(): fetch_keithleys() def after_readout(rec): - if beam_ok: - if get_exec_pars().persist: - if rec.index == 0: + if beam_ok: + if get_exec_pars().save: + print rec.index + if rec.index == 0: create_diag_datasets() append_diag_datasets() else: