Remove SLURM parsing of N/A cluster

This commit is contained in:
Benoît Seignovert 2024-02-14 18:46:53 +01:00
parent b26425d4cf
commit 84361f183e
Signed by: Benoît Seignovert
GPG key ID: F5D8895227D18A0B
2 changed files with 5 additions and 5 deletions

View file

@ -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()