Skip to content

Commit 95107c3

Browse files
Fix psm utils obj assumption
1 parent 1d007a5 commit 95107c3

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to
66
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
# [2.2.11] - 2023-08-19
9+
10+
### Changed
11+
- Remove assumption psm_utils_obj
12+
13+
814
# [2.2.10] - 2023-08-19
915

1016
### Changed

deeplc/deeplc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ def calibrate_preds(self,
929929
for seq,mod,ident,tr in zip(seq_df["seq"],seq_df["modifications"],seq_df.index,seq_df["tr"]):
930930
list_of_psms.append(PSM(peptidoform=peprec_to_proforma(seq,mod),spectrum_id=ident,retention_time=tr))
931931
psm_list = PSMList(psm_list=list_of_psms)
932-
else:
932+
elif psm_utils_obj:
933933
psm_list = psm_utils_obj
934934

935935
if isinstance(self.model, str):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name='deeplc',
9-
version='2.2.10',
9+
version='2.2.11',
1010
license='apache-2.0',
1111
description='DeepLC: Retention time prediction for (modified) peptides using Deep Learning.',
1212
long_description=LONG_DESCRIPTION,

0 commit comments

Comments
 (0)