Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leoschwarz committed Jan 21, 2025
1 parent cec7a4c commit 3e2b7d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app_runner/src/app_runner/submitter/config/slurm_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3e2b7d5

Please sign in to comment.