def __init__()

in slurm-to-batch/slurm_script_parser.py [0:0]


    def __init__(self, job_name, node_count, total_cpus, total_gpus, gpu_type, total_tasks):
        self.job_name = job_name
        self.node_count = node_count
        self.total_cpus = total_cpus
        self.total_gpus = total_gpus
        self.gpu_type = gpu_type if gpu_type else "None"
        self.total_tasks = total_tasks
        
        self.cpu_per_node = total_cpus // node_count
        self.gpu_per_node = total_gpus // node_count