Commit 9a17ba81 authored by Brewer, Wes's avatar Brewer, Wes
Browse files

Use fixed-width F0001 job IDs for run-fed submissions

parent 901d65b0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@ def _build_token(token_cfg) -> AccessToken:

def _make_job(index: int, node_choices: list[int]) -> FedJob:
    return FedJob(
        job_id=f"F{index + 1:04d}",
        nodes_required=random.choice(node_choices),
        wall_time_s=random.choice([1800, 3600, 7200]),
        name=f"fed-{index}",