jade.jobs.job_configuration_factory.create_config_from_previous_run

jade.jobs.job_configuration_factory.create_config_from_previous_run(config_file, output, result_type='successful', **kwargs)[source]

Create instance of a JobConfiguration from a previous config file, returning only those of the type given

Parameters:
  • config_file (str) – location of config

  • output (str) – location of previous results

  • result_type (string) – type of results

Return type:

JobConfiguration

Raises:

InvalidParameter – Raised if result_type is not successful or failed