NREL / reV

Renewable Energy Potential (reV) Model
https://nrel.github.io/reV/
BSD 3-Clause "New" or "Revised" License
107 stars 24 forks source link

Bad job_id when submitted jobs through pipeline. (from slurm reconfig?) #388

Closed bnb32 closed 2 years ago

bnb32 commented 2 years ago

Bug Description When submitted jobs through the rev pipeline the job_id is no longer just a number but includes the text "Submitted batch job"

https://github.com/NREL/reV/blob/289ffc7df00a4c079ad3a2bb042f2ef6c7419543/reV/generation/cli_gen.py#L754 out in the link above now includes the mentioned text.

https://github.com/NREL/reV/blob/289ffc7df00a4c079ad3a2bb042f2ef6c7419543/reV/generation/cli_gen.py#L771 Should probably just parse out for a number and use that result as the job id.

bnb32 commented 2 years ago

Resolving this in rex.utilities.hpc