diff --git a/script/MultiRegion.py b/script/MultiRegion.py index e6a5eb27..a58462e0 100644 --- a/script/MultiRegion.py +++ b/script/MultiRegion.py @@ -40,11 +40,13 @@ import ch.psi.pshell.device.ReadonlyRegisterBase as ReadonlyRegisterBase import ch.psi.pshell.device.ReadonlyRegister.ReadonlyRegisterArray as ReadonlyRegisterArray import ch.psi.pshell.device.ReadonlyRegister.ReadonlyRegisterMatrix as ReadonlyRegisterMatrix +global ExitSlit + def check_region(region): """ check region dictionary items and apply defaults where necessary """ - global ExitSlit + dir() region['fixed'] = 'efix' in region if region['fixed']: region['elo'] = region['efix']