From 602bbd5ec83b8faaea03b688d362fb167c6b4a5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CKarim?= <“karimwael48@gmail.com”> Date: Fri, 27 Oct 2023 15:58:45 +0200 Subject: [PATCH] added final working version of sage. fixed modifications not yet implemented. --- spectrum_io/search_result/sage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spectrum_io/search_result/sage.py b/spectrum_io/search_result/sage.py index 95eb4fb..0f1b76c 100644 --- a/spectrum_io/search_result/sage.py +++ b/spectrum_io/search_result/sage.py @@ -81,7 +81,7 @@ def update_columns_for_prosit(df: pd.DataFrame ) -> pd.DataFrame: df['SCORE'] = df['HYPERSCORE'] # converting proforma to unimode print(df) - df['MODIFIED_SEQUENCE'] = sage_to_internal(df['MODIFIED_SEQUENCE'].to_numpy()) + df['MODIFIED_SEQUENCE'] = sage_to_internal(df['MODIFIED_SEQUENCE']) print(df.columns) return df