def plot_testing(experiment_name):
    try:
        file_controller = FileController(experiment_name)
        path = file_controller.get_testing_plot_filepath(suffix='all')
        evaluation_controller = EvaluationController(experiment_name)
        acc = evaluation_controller.get_accuracy_list()
        plotting_controller = PlottingController(experiment_name)
        plotting_controller.save_testing_plot(acc, path, title='all')
    except Exception as e:
        print_exception(' ! Unable to create testing plot.',
                        e,
                        show_trance=True)
def plot_testing_per_bacteria(experiment_name):
    try:
        file_controller = FileController(experiment_name)
        evaluation_controller = EvaluationController(experiment_name)
        plotting_controller = PlottingController(experiment_name)
        data = evaluation_controller.get_accuracy_list_per_bacteria()
        for bacteria in data.keys():
            acc = data[bacteria]
            path = file_controller.get_testing_plot_filepath(suffix=bacteria)
            plotting_controller.save_testing_plot(acc, path, title=bacteria)
    except Exception as e:
        print_exception(' ! Unable to create testing plot per bacteria.',
                        e,
                        show_trance=True)