Skip to content

Issue with get_spec from figure1_mirror_plot_bulk_sc_comparison notebook #2

@lgatto

Description

@lgatto

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
'GFAFVTFDDHDSVDK'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions