fix(waveform): scan_history error check for IndexError
Description
added check for scan_index out of range for Waveform when accessing history scans
Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.
gitlab.psi.ch will be shutdown by 30 of November 2025! Please migrate your repositories to https://gitea.psi.ch or any other services by then - if you need help in migrating to gitea, contact gitea@psi.ch To still access this service until 30 November 2025 you need to be registered as gitlab user. This can be done via ServiceNow.