diff --git a/Tests/Data/Notebooks/testrunner.py b/Tests/Data/Notebooks/testrunner.py index 90adb61ae346289a3b2787d8bb90e92ee224c76f..2c0186145e2512eb5ce360ef80fe26da6475b24e 100644 --- a/Tests/Data/Notebooks/testrunner.py +++ b/Tests/Data/Notebooks/testrunner.py @@ -4,6 +4,7 @@ from nbclient.exceptions import DeadKernelError from nbconvert import HTMLExporter import argparse import os +import shutil import sys from timeit import default_timer as timer from datetime import timedelta @@ -52,14 +53,14 @@ def save_to_website(exec_notebook_file, web_path): web_path, "content", output_path, - os.path.splitext(os.path.basename(exec_notebook_file))[0], + os.path.splitext(os.path.basename(exec_notebook_file))[0].lower(), subfolder, ) if os.path.exists(figures_path) and not os.path.exists(symlink_figures_path): print( - f"{subfolder} folder detected, symlink {figures_path} to {symlink_figures_path}" + f"{subfolder} folder detected, copying {figures_path} to {symlink_figures_path}" ) - os.symlink(figures_path, symlink_figures_path) + shutil.copytree(figures_path, symlink_figures_path) # Script arguments diff --git a/web/content/docs/benchmarks/th2m/_index.md b/web/content/docs/benchmarks/th2m/_index.md index 29e5bb4fb5d563d55ef339d8736fc8e1b059b174..a9508abfe86718680c6a7fa8eedb6937905f6e1e 100644 --- a/web/content/docs/benchmarks/th2m/_index.md +++ b/web/content/docs/benchmarks/th2m/_index.md @@ -9,5 +9,5 @@ featured = true ## Benchmark hierarchy -Some of the collected benchmarks for the TH2M process can be accessed here. Since fully coupled benchmarks are very rare, and since the TH2M process is rather complex, part of the benchmark hierarchy presented and described in Grunwald et al [2020]({{< relref "publications/paper.md#grunwald2020">}}) and [2022]({{< relref "publications/paper.md#grunwald2020">}}) is provided here. +Some of the collected benchmarks for the TH2M process can be accessed here. Since fully coupled benchmarks are very rare, and since the TH2M process is rather complex, part of the benchmark hierarchy presented and described in Grunwald et al [2020]({{< relref "publications/paper.md#grunwald2020">}}) and [2022]({{< relref "publications/paper.md#grunwald2022">}}) is provided here. This hierarchical ordering of test examples reduces the complex system of equations to simpler combinations of the individual physical processes. Each of the reasonable subsets of process combinations is tested against closed-form solutions, the results of physical experiments, or by comparison with other codes.