-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
Description
Describe the problem you encountered
An exception is raised when calling IdXMLFile().load() with a valid idXML file.
File pyopenms/_pyopenms_3.pyx:3368, in pyopenms._pyopenms_3.IdXMLFile.load()
Exception: can not handle type of ('resources/quantms/LFQ_PXD007683/a05191_consensus.idXML', [], [])
This error did not occur in versions ≤ 3.4.0.
To Reproduce
Steps to reproduce the behavior:
-
Code
from pyopenms import IdXMLFile
raw_id = "resources/quantms/LFQ_PXD007683/a05191_consensus.idXML"
protein_ids: list = []
peptide_ids: list = []
IdXMLFile().load(raw_id, protein_ids, peptide_ids)
- Error
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
Cell In[1], line 10
8 protein_ids: list = []
9 peptide_ids: list = []
---> 10 IdXMLFile().load(raw_id, protein_ids, peptide_ids)
File pyopenms/_pyopenms_3.pyx:3368, in pyopenms._pyopenms_3.IdXMLFile.load()
Exception: can not handle type of ('resources/quantms/LFQ_PXD007683/a05191_consensus.idXML', [], [])
Screenshots
System information:
- OS: Ubuntu
- OS Version: 24.04.2 LTS
- Python version: 3.11.0
- pyopenms version: 3.5.0
- How did you install pyopenms? Please cross a box with an X.
- conda::bioconda: Specify your conda/mamba command and/or your environment with
conda list. - conda::openms: Specify your conda/mamba command and/or your environment with
conda list. - pip
- nightly wheel
- built from source
- conda::bioconda: Specify your conda/mamba command and/or your environment with
Additional context
coderabbitai