jade.jobs.job_analysis.JobAnalysis

class jade.jobs.job_analysis.JobAnalysis(output_dir, config)[source]

Bases: object

Provides functionality to analyze job results.

Methods

get_job(job_name)

Return the job from the config file with job_name.

get_simulation(job_name)

Return a simulation object for the job_name.

get_successful_result(job_name)

Return the job result from the results file.

list_results()

Return a list of Result objects.

show_results([only_failed, only_successful])

Show the results in terminal.

Attributes

output_dir

get_job(job_name)[source]

Return the job from the config file with job_name.

Parameters:

job_name (str)

Return type:

namedtuple

get_successful_result(job_name)[source]

Return the job result from the results file. Refer to get_successful_result().

get_simulation(job_name)[source]

Return a simulation object for the job_name.

Parameters:

job_name (str)

Return type:

JobExecutionInterface

list_results()[source]

Return a list of Result objects.

show_results(only_failed=False, only_successful=False)[source]

Show the results in terminal.