Remove SLURM parsing of N/A cluster
This commit is contained in:
parent
b26425d4cf
commit
84361f183e
2 changed files with 5 additions and 5 deletions
|
@ -51,7 +51,7 @@ class SlurmNode:
|
|||
gpu: SlurmGpu
|
||||
|
||||
def __init__(self, cluster, partition, hostname, state, cpus_state, memory_mb, gres): # noqa: PLR0913
|
||||
self.cluster = None if 'N/A' in cluster else cluster.strip()
|
||||
self.cluster = cluster.strip()
|
||||
self.partition = partition.strip()
|
||||
self.hostname = hostname.strip()
|
||||
self.state = state.strip().lower()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue