Skip to content

Commit 9593a41

Browse files
authored
Merge pull request #117 from compomics/fix/percolator-style
Fix bug in PercolatorTabWriter where `style` was not set
2 parents 45bc0b6 + e4aa4bc commit 9593a41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

psm_utils/io/percolator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ def __init__(
246246
f"Could not infer Percolator Tab style from file extension `{suffix}`. "
247247
"Please provide the `style` parameter."
248248
)
249+
else:
250+
self.style = style
249251

250252
if self.style == "pin":
251253
basic_features = ["PSMScore", "ChargeN"] if add_basic_features else []

0 commit comments

Comments
 (0)