From c96a68f4b22576fa408f49ac1c8b0a0de23e15a8 Mon Sep 17 00:00:00 2001 From: x03daop Date: Wed, 6 Apr 2016 11:54:46 +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 c806f512..ccc02779 100644 --- a/script/local.py +++ b/script/local.py @@ -207,7 +207,7 @@ def append_diag_datasets(parent = None): parent = get_context().group group = parent + "attrs/" for f in diag_channels: - x = f.take() + x = f.read() if x is None: x = '' if (type(f) is ch.psi.pshell.epics.ChannelString) else float('nan') append_dataset(group+get_diag_name(f), x)