From e7dda3cda835d083cc52bed29f57b91cf2944533 Mon Sep 17 00:00:00 2001 From: Ivan Usov Date: Fri, 26 Mar 2021 16:32:01 +0100 Subject: [PATCH] Print the content of spind event file --- pyzebra/app/panel_spind.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyzebra/app/panel_spind.py b/pyzebra/app/panel_spind.py index 951d701..b93135b 100644 --- a/pyzebra/app/panel_spind.py +++ b/pyzebra/app/panel_spind.py @@ -68,6 +68,10 @@ def create(): diff_vec = prepare_event_file(temp_event_file, roi_dict, path_prefix_textinput.value) + print(f"Content of {temp_event_file} file:") + with open(temp_event_file) as f: + print(f.read()) + comp_proc = subprocess.run( [ "mpiexec",