JobManager

A class to manage job instances. Thin layer on a PersistenceManager

default_job_type: Job

 

__init__(self, job_dir, job_type=None): 

 

job(self, name, timestamp=False, **kw): 

Returns a loaded or new job with the given name and settings

  • name: str
  • timestamp: Any
  • kw: Any
  • :returns: Job

 

job_from_folder(folder, job_type=None, make_config=True, **opts): 

A special case convenience function that goes directly to starting a job from a folder

  • :returns: Job

 

current_job(job_type=None, make_config=True, **opts): 

A special case convenience function that starts a JobManager one directory up from the current working directory and intializes a job from the current working directory

  • :returns: Job

Feedback

Examples

Templates

Documentation