File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ def report(self, title=None):
586586 t .addLabel ("result" )
587587 for key in keys :
588588 v = getattr (self , key ).value
589- t .addRow ((key , v ))
589+ t .addRow ((key , str ( v ) ))
590590 if title is not None :
591591 print (title )
592592 print (t )
@@ -628,8 +628,6 @@ def _scan(md=None):
628628 v = np .array (v )
629629 getattr (results , key ).put (v )
630630
631- results .report (stream_name )
632-
633631 if results .tune_ok .value :
634632 yield from bps .create (name = stream_name )
635633 try :
@@ -644,6 +642,8 @@ def _scan(md=None):
644642 yield from bps .mv (self .axis , final_position )
645643 self .stats .append (self .peaks )
646644 yield from bps .close_run ()
645+
646+ results .report (stream_name )
647647
648648 return (yield from _scan (md = _md ))
649649
You can’t perform that action at this time.
0 commit comments