diff --git a/BayesianKDEy/generate_results.py b/BayesianKDEy/generate_results.py index 5aef993..1cd309d 100644 --- a/BayesianKDEy/generate_results.py +++ b/BayesianKDEy/generate_results.py @@ -60,18 +60,18 @@ for setup in ['binary', 'multiclass']: table['c-CI'].extend(results['coverage']) table['a-CI'].extend(results['amplitude']) - # if 'coverage-CE' not in report: - covCE, ampCE = compute_coverage_amplitude(ConfidenceEllipseSimplex) - covCLR, ampCLR = compute_coverage_amplitude(ConfidenceEllipseCLR) + if 'coverage-CE' not in report: + covCE, ampCE = compute_coverage_amplitude(ConfidenceEllipseSimplex) + covCLR, ampCLR = compute_coverage_amplitude(ConfidenceEllipseCLR) - update_fields = { - 'coverage-CE': covCE, - 'amplitude-CE': ampCE, - 'coverage-CLR': covCLR, - 'amplitude-CLR': ampCLR - } + update_fields = { + 'coverage-CE': covCE, + 'amplitude-CE': ampCE, + 'coverage-CLR': covCLR, + 'amplitude-CLR': ampCLR + } - update_pickle(report, file, update_fields) + update_pickle(report, file, update_fields) table['c-CE'].extend(report['coverage-CE']) table['a-CE'].extend(report['amplitude-CE'])