From 2ed029f5795afaecc3a01fcac6300af1b9924e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sophia=20M=C3=A4dler?= <15019107+sophiamaedler@users.noreply.github.com> Date: Fri, 29 Nov 2024 19:00:26 +0100 Subject: [PATCH] fix missing f strings --- src/scportrait/pipeline/classification.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scportrait/pipeline/classification.py b/src/scportrait/pipeline/classification.py index 14cb094f..38d2da2d 100644 --- a/src/scportrait/pipeline/classification.py +++ b/src/scportrait/pipeline/classification.py @@ -219,8 +219,8 @@ def _load_model(self): sys.exit("incorrect specification for pretrained model.") else: - self.log("loading model from the following checkpoint file: {self.network_dir}") - self.log("loading model with the following hparams file: {self.hparams_file}") + self.log(f"loading model from the following checkpoint file: {self.network_dir}") + self.log(f"loading model with the following hparams file: {self.hparams_file}") model = MultilabelSupervisedModel.load_from_checkpoint( self.network_dir,