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] authored and braingram committed Oct 3, 2024
1 parent 815af6c commit f512afb
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 @@ -543,7 +543,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 546 in src/stpipe/step.py

View check run for this annotation

Codecov / codecov/patch

src/stpipe/step.py#L545-L546

Added lines #L545 - L546 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 f512afb

Please sign in to comment.