def _get_slurm_run_command()

in cli/slurm_check.py [0:0]


  def _get_slurm_run_command(self) -> list[str]:
    """Builds the command to run the slurm check."""
    relative_path = 'deploy/slurm'
    command = [
        f'{relative_path}/cluster-validation.sh',
        '--nodelist',
        ','.join(self.nodes),
        f'--{self.check_flag}',
        '--partition',
        self.partition,
        '--nodes',
        f'{len(self.nodes)}',
        f'--relative-exec-path={relative_path}',
        '--results-dir=results',
    ]
    return command