pyiron_base.jobs.job.runfunction.handle_failed_job

pyiron_base.jobs.job.runfunction.handle_failed_job#

pyiron_base.jobs.job.runfunction.handle_failed_job(job: pyiron_base.jobs.job.generic.GenericJob, error: SubprocessError) Tuple[bool, str][source]#

Handle failed jobs write error message to text file and update database

Parameters:
  • job (GenericJob) – pyiron job object

  • error (subprocess.SubprocessError) – error of the subprocess executing the job

Returns:

job crashed and error message

Return type:

boolean, str