Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Get updated value for terms.use_Flycan when needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 26, 2020
1 parent 2d14416 commit 199c749
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions profile_bluesky/startup/instrument/plans/scans.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,14 @@ def preSWAXStune(md={}):
)



# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


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={})
Expand Down

0 comments on commit 199c749

Please sign in to comment.