From 199c749ca128c489dbf94d472e83cda8c44b6396 Mon Sep 17 00:00:00 2001 From: Pete Jemian Date: Wed, 26 Feb 2020 16:16:56 -0600 Subject: [PATCH] Get updated value for terms.use_Flycan when needed. --- profile_bluesky/startup/instrument/plans/scans.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/profile_bluesky/startup/instrument/plans/scans.py b/profile_bluesky/startup/instrument/plans/scans.py index 78d486ee..e46631e2 100644 --- a/profile_bluesky/startup/instrument/plans/scans.py +++ b/profile_bluesky/startup/instrument/plans/scans.py @@ -208,7 +208,6 @@ def preSWAXStune(md={}): ) - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -216,7 +215,7 @@ def USAXSscan(x, y, thickness_mm, title, md={}): """ general scan macro for fly or step USAXS with 1D or 2D collimation """ - if terms.FlyScan.use_flyscan: + if terms.FlyScan.use_flyscan.get(): yield from Flyscan(x, y, thickness_mm, title, md={}) else: yield from USAXSscanStep(x, y, thickness_mm, title, md={})