Error message:
File ~/RIAssigner/RIAssigner/data/MatchMSData.py:75, in MatchMSData._sort_spectra_by_rt(self)
line 73} def _sort_spectra_by_rt(self):
line 74) """ Sort objects (peaks) in spectra list by their retention times. """
---> line 75) self._spectra.sort(key=lambda spectrum: safe_read_key(spectrum, self._rt_key))
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'
Error message: File ~/RIAssigner/RIAssigner/data/MatchMSData.py:75, in MatchMSData._sort_spectra_by_rt(self) line 73} def _sort_spectra_by_rt(self): line 74) """ Sort objects (peaks) in spectra list by their retention times. """ ---> line 75) self._spectra.sort(key=lambda spectrum: safe_read_key(spectrum, self._rt_key))
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'