From 528b8bd54460af29b91b1d4a5f51f5b993e38adc Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Tue, 10 Mar 2020 15:32:06 +0100 Subject: [PATCH] Script execution --- script/local.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script/local.py b/script/local.py index ee879c5e..503fa86f 100644 --- a/script/local.py +++ b/script/local.py @@ -323,11 +323,11 @@ def before_readout(): """ def after_readout(rec, scan): - print scan.index if beam_ok: if get_exec_pars().save: - if rec.index == 0: - create_metadata_datasets() + if rec.index == 0: + if scan.index == 1: + create_metadata_datasets() create_diag_datasets() append_diag_datasets() else: