Skip to content

Commit e4aa4bc

Browse files
committed
Fix bug in PercolatorTabWriter where style parameter was not propagated (fixes #114)
1 parent 45bc0b6 commit e4aa4bc

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)