peptide details windows does not use the good spectrum
Bug report
The peptide details windows does not used the correct spectrum index for the visualisation of matching
Version of X!TandemPipeline
(Which version of X!TandemPipeline bug) 0.4.41
Error message
(If an error message or a warning pop-up past-it here) no error
File used
(Copy the file path used when the bug occured)
/gorgone/pappso/moulon/users/thierry/20211024_daviere_test/20211024_daviere_test.xpip
## Steps to reproduce (How one can reproduce the issue - very important)
trying to visualize the peptide pepa4b15 form Sample 20211024_daviere_test_3 scan 19734 the matching pattern is really bad and not in adequation with evalue and hyperScore. the visualized spectra seems to be the spectrum 19735 (confirmed in the raw files with qualbrowser
What is the expected correct behavior?
(What you should see instead)
Optional
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)