pyiron_base.jobs.job.runfunction.run_job_with_status_created#
- pyiron_base.jobs.job.runfunction.run_job_with_status_created(job: pyiron_base.jobs.job.generic.GenericJob) None[source]#
Internal helper function the run if created function is called when the job status is ‘created’. It executes the simulation, either in modal mode, meaning waiting for the simulation to finish, manually, or submits the simulation to the que.
- Parameters:
job (GenericJob) – pyiron job object
- Returns:
Queue ID - if the job was send to the queue
- Return type:
int