From cf9df0c41284bd4e283c964d97e6875ddd262b4f Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Fri, 25 Jan 2019 11:45:23 +0100 Subject: [PATCH] Script execution --- script/MultiRegionTest.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/script/MultiRegionTest.py b/script/MultiRegionTest.py index f0a86241..5470489a 100644 --- a/script/MultiRegionTest.py +++ b/script/MultiRegionTest.py @@ -2,10 +2,6 @@ Discrete photon energy scan (vector scan) of multiple spectral regions """ -print("A") -from MultiRegion import run as multi_region_run -print("AB") - # scan positioner: Eph = photon energy MOTORS = [Eph] # comma-separated discrete list of scan positions @@ -41,6 +37,8 @@ REGIONS = [REGION1, REGION2] CLOSE_SHUTTER_AT_END = False +print("A") +from MultiRegion import multi_region_run print("B") multi_region_run(MOTORS, POSITIONS, REGIONS, LATENCY, CLOSE_SHUTTER_AT_END) print("C")