Skip to content

Commit

Permalink
skip examples that use FMM
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Nov 7, 2024
1 parent 1226f5a commit 84df9b2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions examples/generate_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 84df9b2

Please sign in to comment.