I have downloaded the raw files and hit the following exception wit the get_spec function
get_spec('85781',peptide,mzml_bulk1)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-15-0994bd40dce9> in <module>
----> 1 get_spec('85781',peptide,mzml_bulk1)
<ipython-input-2-5fcc2298378b> in get_spec(my_scan, my_peptide, mzml)
24 ion_time = spectrum_dict["scanList"]['scan'][0]["ion injection time"]
25
---> 26 spectrum = sus.MsmsSpectrum(spectrum_id, precursor_mz, precursor_charge,
27 mz_array, intensity_array, None, retention_time, peptide=my_peptide)
28
TypeError: __init__() got an unexpected keyword argument 'peptide'
Note that the peptide variable does exists
peptide ='GFAFVTFDDHDSVDK'
peptide