Skip to content

Commit

Permalink
break __call__
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Nov 6, 2024
1 parent 6fd952c commit d360e26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jwst/stpipe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def run(self, *args, **kwargs):

@wraps(Step.__call__)
def __call__(self, *args, **kwargs):
raise Exception()
if not self.parent:
warnings.warn(
"Step.__call__ is deprecated. It is equivalent to Step.run "
Expand Down

0 comments on commit d360e26

Please sign in to comment.