Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 28, 2024
1 parent c21b3fb commit cea8ac2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/stpipe/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,9 @@ def run(self, *args):
self.save_model(result, idx=idx)
else:
if hasattr(result, "save"):
raise Exception(f"non-datamodel result with a save: {result}")
raise Exception(

Check warning on line 521 in src/stpipe/step.py

View check run for this annotation

Codecov / codecov/patch

src/stpipe/step.py#L520-L521

Added lines #L520 - L521 were not covered by tests
f"non-datamodel result with a save: {result}"
)
# what has "save"? Does anything ever reach this code
if not self.skip:
self.log.info("Step %s done", self.name)
Expand Down

0 comments on commit cea8ac2

Please sign in to comment.