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 = []