prisms_jobs.complete_job

prisms_jobs.complete_job(jobid=None, dbpath=None)[source]

Mark the job as ‘Complete’ if possible

Parameters:
  • dbpath (str) –

    Path to JobDB database.

    If not given, use default database.

  • jobid (str) –

    ID of job to mark ‘Complete’.

    If not given, uses current job ID determined from the environment.

Raises:

JobsError – If job ID could not be determined