Skip to content

Commit d0ea17b

Browse files
authored
Merge pull request #236 from compomics/output-IM
Output IM instead of CCS in predict_library
2 parents 3c21b8b + 1906b45 commit d0ea17b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ms2pip/_utils/ion_mobility.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class IonMobility:
12-
"""Predict ion mobility using IM²Deep."""
12+
"""Predict ion mobility using IM2Deep."""
1313

1414
def __init__(self, processes=1) -> None:
1515
# Lazy import to avoid loading loading heavy dependencies when not needed
@@ -27,6 +27,6 @@ def add_im_predictions(self, psm_list: PSMList) -> None:
2727
"""Add ion mobility predictions to the PSMList."""
2828
logger.info("Predicting ion mobility...")
2929
predictions: pd.Series = self.predict_fn(
30-
psm_list, write_output=False, n_jobs=self.processes
30+
psm_list, write_output=False, n_jobs=self.processes, ion_mobility=True
3131
)
3232
psm_list["ion_mobility"] = predictions.values

0 commit comments

Comments
 (0)