Skip to content

pid needed #11

@brandonlind

Description

@brandonlind

if job in list(jobs.keys()):

if True, this will cancel all but the oldest job for job (the smallest slurm_job_id). However, this if statement needs to return the correct pid (sorted(pids)[0]), which handles: if len(pids) >= 1, but not when len(pids)==0 where it will cause IndexError.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions