From 34244ad67675ae4dc6e385d519e126100fcbc704 Mon Sep 17 00:00:00 2001 From: Joshua Larsen Date: Tue, 31 Oct 2023 15:50:06 -0700 Subject: [PATCH] update notebook example to skip None packages --- .docs/Notebooks/mf6_parallel_model_splitting_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.docs/Notebooks/mf6_parallel_model_splitting_example.py b/.docs/Notebooks/mf6_parallel_model_splitting_example.py index fee4fffd4b..35c535c4bc 100644 --- a/.docs/Notebooks/mf6_parallel_model_splitting_example.py +++ b/.docs/Notebooks/mf6_parallel_model_splitting_example.py @@ -188,7 +188,7 @@ pak = model.get_package(pkg) try: rarrays[ix + 1] = pak.stress_period_data.data[0] - except TypeError: + except (TypeError, AttributeError): pass recarray = mfsplit.reconstruct_recarray(rarrays) if pkg == "riv":