From ff13dfd475e69a8206930588ec074695a87bfc91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Czy=C5=BC?= Date: Sun, 14 Apr 2024 10:08:03 +0200 Subject: [PATCH] Fix typo in filename --- workflows/benchmark/_common_benchmark_rules.smk | 6 +++--- workflows/benchmark/_utils.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/workflows/benchmark/_common_benchmark_rules.smk b/workflows/benchmark/_common_benchmark_rules.smk index fdcd32e4..32cd9414 100644 --- a/workflows/benchmark/_common_benchmark_rules.smk +++ b/workflows/benchmark/_common_benchmark_rules.smk @@ -15,7 +15,7 @@ TASKS_DICT = { rule benchmark_tables: input: 'results.csv' - output: 'benchmark.html', 'benchmark_converged_only.html', 'benchmark_convergance.html' + output: 'benchmark.html', 'benchmark_converged_only.html', 'benchmark_convergence.html' run: results = utils.read_results(str(input)) table = utils.create_benchmark_table(results, converged_only=False) @@ -24,8 +24,8 @@ rule benchmark_tables: table = utils.create_benchmark_table(results, converged_only=True) table.to_html('benchmark_converged_only.html') - table = utils.create_convergance_table(results) - table.to_html('benchmark_convergance.html') + table = utils.create_convergence_table(results) + table.to_html('benchmark_convergence.html') # Gather all results into one CSV file diff --git a/workflows/benchmark/_utils.py b/workflows/benchmark/_utils.py index 9e6987e6..65182ced 100644 --- a/workflows/benchmark/_utils.py +++ b/workflows/benchmark/_utils.py @@ -117,7 +117,7 @@ def make_pretty(styler): return table_pretty -def create_convergance_table(results, n_samples=None): +def create_convergence_table(results, n_samples=None): if n_samples is None: n_samples = results["n_samples"].max()