NREL / rex

REsource eXtraction Tool (rex)
https://nrel.github.io/rex
BSD 3-Clause "New" or "Revised" License
20 stars 10 forks source link

Bad job id with slurm reconfig #140

Closed bnb32 closed 1 year ago

bnb32 commented 1 year ago

https://github.com/NREL/rex/blob/68ed4e1ff83d186c9791d1f20a0d299670b496a1/rex/utilities/hpc.py#L749

With the slurm reconfig job_id is no longer a number. We should probably add a job_id = re.sub("[^0-9]", "", job_id) here.