diff --git a/siriuspy/siriuspy/VERSION b/siriuspy/siriuspy/VERSION index 8e00e241f..587b583f9 100644 --- a/siriuspy/siriuspy/VERSION +++ b/siriuspy/siriuspy/VERSION @@ -1 +1 @@ -2.51.1 +2.51.2 diff --git a/siriuspy/siriuspy/optics/lattice_survey.py b/siriuspy/siriuspy/optics/lattice_survey.py index dec0a14b9..d843ec46b 100644 --- a/siriuspy/siriuspy/optics/lattice_survey.py +++ b/siriuspy/siriuspy/optics/lattice_survey.py @@ -114,6 +114,8 @@ def generate_bpm_static_table(): model = pymodels.tb acc, *_ = model.create_accelerator() + idx = pyaccel.lattice.find_indices(acc, 'fam_name', 'Spect')[0] + acc = acc[idx+1:] _append_bpm_data(filename, model, acc, 'BO Transport Line', 'TB') model = pymodels.ts