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")