From 1e565c4acaead600e67c0b1c59ec51ca7ebb2c57 Mon Sep 17 00:00:00 2001 From: Wout Bittremieux Date: Mon, 18 Nov 2024 20:31:56 +0100 Subject: [PATCH] Remove superfluous PSM export --- casanovo/denovo/model.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/casanovo/denovo/model.py b/casanovo/denovo/model.py index 68a8fcc5..f350f3b3 100644 --- a/casanovo/denovo/model.py +++ b/casanovo/denovo/model.py @@ -1076,14 +1076,6 @@ def predict_step( ) return predictions - def on_predict_batch_end( - self, outputs: List[ms_io.PepSpecMatch], *args - ) -> None: - """ - Write the database search results to the output file. - """ - self.out_writer.psms.extend(outputs) - def _calc_match_score( batch_all_aa_scores: torch.Tensor,