Skip to content

Commit e722d1d

Browse files
committed
fixes #139 simpler
1 parent 29483ca commit e722d1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apstools/plans.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,8 @@ def _scan(md=None):
618618
stream_name = "PeakStats"
619619
results = Results(name=stream_name)
620620

621-
for key in "tune_ok center".split():
622-
getattr(results, key).put(getattr(self, key))
621+
results.tune_ok.put(self.tune_ok)
622+
results.center.put(self.center)
623623
results.final_position.put(final_position)
624624
results.initial_position.put(initial_position)
625625
for key in results.peakstats_attrs:

0 commit comments

Comments
 (0)