Skip to content
Snippets Groups Projects
Commit 3c0b8dad authored by Jakobsen, Mads Bregenholt's avatar Jakobsen, Mads Bregenholt
Browse files

debug info

parent c9fb2611
No related branches found
No related tags found
No related merge requests found
...@@ -165,9 +165,11 @@ class DataToPlotToHash(): ...@@ -165,9 +165,11 @@ class DataToPlotToHash():
from karabo.bound import ImageData from karabo.bound import ImageData
if current_img is not None: if current_img is not None:
print("adding", f'{hash_key}.plot')
hash[f'{hash_key}.plot'] = ImageData(current_img) hash[f'{hash_key}.plot'] = ImageData(current_img)
now = time.time() now = time.time()
print("adding", f'{hash_key}.update_interval')
hash[f'{hash_key}.update_interval'] = f'{(now - self.hash_keys_and_plotter[hash_key]['time_to_make_plot']):.1f}s' hash[f'{hash_key}.update_interval'] = f'{(now - self.hash_keys_and_plotter[hash_key]['time_to_make_plot']):.1f}s'
self.hash_keys_and_plotter[hash_key]['time_to_make_plot'] = now self.hash_keys_and_plotter[hash_key]['time_to_make_plot'] = now
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment