pyiron_base.project.jobloader module

A helper class to be assigned to the project, which facilitates tab-completion when loading jobs.

class pyiron_base.project.jobloader.JobInspector(project: Project)

Bases: _JobByAttribute

Inspect an existing pyiron object - most commonly a job - from the database

Parameters:

job_specifier (str, int) – name of the job or job ID

Returns:

Access to the HDF5 object - not a GenericJob object - use load()

instead.

Return type:

JobCore

convert_to_object = False
class pyiron_base.project.jobloader.JobLoader(project: Project)

Bases: _JobByAttribute

Load an existing pyiron object - most commonly a job - from the database

Parameters:

job_specifier (str, int) – name of the job or job ID

Returns:

Either the full GenericJob object or just a reduced JobCore object

Return type:

GenericJob, JobCore

convert_to_object = True