From 77a37d40db9afa38405461efd9d8349c46f313f8 Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Fri, 25 Jan 2019 11:25:42 +0100 Subject: [PATCH] Script execution --- script/MultiRegionTest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/MultiRegionTest.py b/script/MultiRegionTest.py index 9b3075a1..7ea5a1ba 100644 --- a/script/MultiRegionTest.py +++ b/script/MultiRegionTest.py @@ -2,7 +2,7 @@ Discrete photon energy scan (vector scan) of multiple spectral regions """ -import MultiRegion +from MultiRegion import run as multi_region_run # scan positioner: Eph = photon energy MOTORS = [Eph] @@ -40,5 +40,5 @@ CLOSE_SHUTTER_AT_END = False print ("B") -MultiRegion.run(MOTORS, POSITIONS, REGIONS, LATENCY, CLOSE_SHUTTER_AT_END) +multi_region_run(MOTORS, POSITIONS, REGIONS, LATENCY, CLOSE_SHUTTER_AT_END) print ("C")