From 4b63ec229a6ac39dde69a290d241689a6693827f Mon Sep 17 00:00:00 2001 From: Ned Molter Date: Wed, 25 Sep 2024 15:22:09 -0400 Subject: [PATCH] fix stpipe unit tests --- src/stpipe/step.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stpipe/step.py b/src/stpipe/step.py index 80cd962c..1b725e63 100644 --- a/src/stpipe/step.py +++ b/src/stpipe/step.py @@ -988,7 +988,7 @@ def save_model( model.shelve(m, i) return output_paths - elif isinstance(model, Sequence): + elif isinstance(model, Sequence) and not isinstance(model, str): if not hasattr(model, "save"): # list of datamodels, e.g. ModelContainer output_paths = []