From 84df9b25d29ce8b5193addde3f4d838223211d81 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Thu, 7 Nov 2024 11:24:29 +0000 Subject: [PATCH] skip examples that use FMM --- examples/generate_notebooks.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/examples/generate_notebooks.py b/examples/generate_notebooks.py index b13e843..84dd841 100644 --- a/examples/generate_notebooks.py +++ b/examples/generate_notebooks.py @@ -35,10 +35,15 @@ assert os.system(f"jupytext --to ipynb {file_copy}") == 0 assert os.system(f"rm {file_copy}") == 0 - assert os.system( - "jupyter nbconvert --execute --to notebook --inplace " - + os.path.join(path, f"convert-{i[:-3]}.ipynb") - ) == 0 + + # Skip examples that use fmm + if i[:-3] not in [ + "dirichlet_weak_imposition", + ]: + assert os.system( + "jupyter nbconvert --execute --to notebook --inplace " + + os.path.join(path, f"convert-{i[:-3]}.ipynb") + ) == 0 os.system( "mv " + os.path.join(path, f"convert-{i[:-3]}.ipynb")