pyiron_base.jobs.job.runfunction.handle_finished_job#
- pyiron_base.jobs.job.runfunction.handle_finished_job(job: pyiron_base.jobs.job.generic.GenericJob, job_crashed: bool = False, collect_output: bool = True) None[source]#
Handle finished jobs, collect the calculation output and set the status to aborted if the job crashed
- Parameters:
job (GenericJob) – pyiron job object
job_crashed (boolean) – flag to indicate failed jobs
collect_output (boolean) – flag to indicate if the collect_output() function should be called