Commit 00537e5b authored by Jose Tiago Macara Coutinho's avatar Jose Tiago Macara Coutinho Committed by Jose Tiago Macara Coutinho
Browse files

scan: make timer directly accessible in acquisition chain

parent c0f7f50d
......@@ -43,6 +43,7 @@ class TimestampPlaceholder:
def __init__(self):
self.name = 'timestamp'
def _get_counters(mg, missing_list):
counters = list()
if mg is not None:
......@@ -105,6 +106,7 @@ def default_chain(chain, scan_pars):
else:
raise TypeError("`%r' is not a supported counter type" % repr(cnt))
chain.timer = timer
return timer
def step_scan(chain,scan_info,name=None,save=default_writer is not None):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment