pyopenms-docs icon indicating copy to clipboard operation
pyopenms-docs copied to clipboard

Update doc to use new PeptideIdentificationList

Open timosachsenberg opened this issue 5 months ago • 2 comments

What is the type of your request? On the C++ side we introduced a class PeptideIdentificationList to encapsulate the vector<PeptideIdentification>

In pyOpenMS we previously used pep_ids = [], and then something like IdXMLFile(..., pep_ids) to load the data.

With the new class such code needs to be updated to pep_ids = PeptideIdentificationList()

Include a description of your report

Provide a screenshot, the text or URL of the corresponding documentation page or section

State the documentation version the report is about

Do you have any suggestions for how we can improve the documentation?

timosachsenberg avatar Jul 16 '25 06:07 timosachsenberg

It looks like this is not used at all, except for in the views folder.

matteopilz avatar Jul 31 '25 09:07 matteopilz

it is also used in several other places... check the pxd file for the changes to PeptideIdentificationList and trace down if these classes / methods are used in the pyopenms doc and snippets

timosachsenberg avatar Jul 31 '25 12:07 timosachsenberg