Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion psm_utils/io/idxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@
score=peptide_hit.getScore(),
precursor_mz=peptide_id.getMZ(),
retention_time=peptide_id.getRT(),
# NOTE: ion mobility will be supported by OpenMS in the future
ion_mobility=float(peptide_id.getMetaValue("IM")) if peptide_id.getMetaValue("IM") is not None else None
protein_list=[

Check failure on line 198 in psm_utils/io/idxml.py

View workflow job for this annotation

GitHub Actions / linting-and-coverage

Ruff

psm_utils/io/idxml.py:198:13: SyntaxError: Expected ',', found name
accession.decode() for accession in peptide_hit.extractProteinAccessionsSet()
],
rank=peptide_hit.getRank() + 1, # 0-based to 1-based
Expand Down
Loading