RECETOX / RIAssigner

RIAssigner is a python tool for retention index (RI) computation for GC-MS data.
MIT License
4 stars 6 forks source link

Handle MSP data without RT metadata #110

Closed wverastegui closed 9 months ago

wverastegui commented 10 months ago

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'