Skip to content

Commit

Permalink
ionmob fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurDeclercq committed Apr 9, 2024
1 parent e873e73 commit dec5950
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ms2rescore/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ def rescore(configuration: Dict, psm_list: Optional[PSMList] = None) -> None:
rt_required = ("deeplc" in config["feature_generators"]) and (
None in psm_list["retention_time"]
)
im_required = ("ionmob" or "im2deep" in config["feature_generators"]) and (
None in psm_list["ion_mobility"]
)
im_required = (
"ionmob" in config["feature_generators"] or "im2deep" in config["feature_generators"]
) and (None in psm_list["ion_mobility"])
logger.debug(f"RT required: {rt_required}, IM required: {im_required}")

if rt_required or im_required:
Expand Down

0 comments on commit dec5950

Please sign in to comment.