From 2b64bacbdae74a937ef39fb67966eace96f91b21 Mon Sep 17 00:00:00 2001 From: Dana Moreno <124563352+dana98moreno@users.noreply.github.com> Date: Tue, 28 Nov 2023 17:45:03 +0100 Subject: [PATCH] Update MixTCRpred.py Minor correction: ':' forgotten in the new if ... else --- MixTCRpred.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MixTCRpred.py b/MixTCRpred.py index c213e4c..ab62fda 100644 --- a/MixTCRpred.py +++ b/MixTCRpred.py @@ -202,7 +202,7 @@ if model_name in list(d_model_anc.keys()): all_perc_rank = src.utils.compute_perc_rank(model_name, d_model_anc, predicted_scores) df_res['perc_rank'] = all_perc_rank - else + else: df_res['perc_rank'] = np.nan df_res = df_res.drop('epitope', axis = 1)