Skip to content

Commit

Permalink
fix stpipe unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emolter committed Sep 25, 2024
1 parent 7afa00c commit 4b63ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stpipe/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 4b63ec2

Please sign in to comment.