Commit da0f6df8 authored by Simone Liuzzo's avatar Simone Liuzzo
Browse files

error if not correct lattice

parent d26b77ff
......@@ -158,8 +158,9 @@ classdef RingControl < handle
obj.InitEsrfSY;
otherwise
% default ESRF SR
obj.InitEsrfSR;
error(['Suported machines are: '...
'''esrf-sr'', ''esrf-sy'', ''ebs-simu'''])
end
% set selturns correctly
......@@ -168,6 +169,7 @@ classdef RingControl < handle
% define radiants as initial units for correctors.
obj.Switch2Radians;
end
% methods defined in seprated functions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment