From 91423e239e5e70bc8d96aca010af12855e46d195 Mon Sep 17 00:00:00 2001 From: x03daop Date: Thu, 31 Mar 2016 14:27:50 +0200 Subject: [PATCH] Script execution --- script/local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/local.py b/script/local.py index 6c50086a..3630950f 100644 --- a/script/local.py +++ b/script/local.py @@ -210,7 +210,7 @@ def append_diag_datasets(parent = None): SAVE_DIAGS = True def after_readout(rec): - if SAVE_DIAGS: + if SAVE_DIAGS and get_context().persist: if rec.index == 0: create_diag_datasets() append_diag_datasets()