From 3e2b7d5eec835b587497e5cd4dd22f7621117f31 Mon Sep 17 00:00:00 2001 From: Leonardo Schwarz Date: Tue, 21 Jan 2025 13:47:05 +0100 Subject: [PATCH] fix --- app_runner/src/app_runner/submitter/config/slurm_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app_runner/src/app_runner/submitter/config/slurm_config.py b/app_runner/src/app_runner/submitter/config/slurm_config.py index fcd0dbc..d8566fc 100644 --- a/app_runner/src/app_runner/submitter/config/slurm_config.py +++ b/app_runner/src/app_runner/submitter/config/slurm_config.py @@ -23,5 +23,5 @@ def sbatch_params(self) -> dict[str, str]: return {key: value for key, value in merged.items() if value is not None} def get_scratch_dir(self) -> str: - # TODO ensure it's a str - return self._submitter_config.config.worker_scratch_dir + # TODO check if cast is necessary later + return str(self.submitter_config.config.worker_scratch_dir)