I've got problem can't solve
Created by: kw-yang
I'm using Windows 7, python 3.7.1, and what I want to do is to overlay experimental spectrum and theoretical spectrum using 'isotope overlay pattern' module in pythoms script.
I put current directory and spectrum(mzml), and seems nothing wrong to me. But the error occured like this, Traceback (most recent call last): File "L:\Downloads\PythoMS-master\isotope pattern overlay.py", line 240, in exp = mzml.sum_scans() File "L:\Downloads\PythoMS-master\pythoms\mzml.py", line 1050, in sum_scans if self.functions[fn]['type'] != 'MS': KeyError: 1
I checked mzml.py and maybe [fn] is empty list so keyerror occurs.
Give me any suggestions. Thanks.