Commit d7f9116c authored by Simone Liuzzo's avatar Simone Liuzzo

+ebs.load_resp deals with different number of h and v steerers

parent 862f84b2
......@@ -156,7 +156,13 @@ disp1(missing,1,' missing BPMs:');
if action <= 0 && any(any(wrong))
fprintf('\n%d %s\nkick BPMlist\n',sum(sum(wrong)),message);
for kick=find(any(wrong))
fprintf('%s\t%s\n',ebs.steername(kick),num2str(find(wrong(:,kick))'));
switch upper(plane)
case {'V','V2H'}
fprintf('%s\t%s\n',ebs.steername(kick),num2str(find(wrong(:,kick))'));
case {'H','H2V'}
fprintf('%s\t%s\n',ebs.hsteername(kick),num2str(find(wrong(:,kick))'));
end
end
rmv=ask(action);
else
......
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