Skip to content

Commit

Permalink
fix bug in AmiAverageStep spec
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Jul 29, 2024
1 parent f97dc68 commit 9134db0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jwst/ami/ami_average_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class AmiAverageStep(Step):
class_alias = "ami_average"

spec = """
skip = True # Do not run this step
skip = boolean(default=True) # Do not run this step
"""

def flatten_input(self, input_items):
Expand Down
10 changes: 10 additions & 0 deletions jwst/ami/tests/test_ami_average.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from jwst.ami.ami_average_step import AmiAverageStep


def test_step_init():
"""
Just a simple smoke test to make sure the step
can be created with the default spec.
"""
step = AmiAverageStep()
assert step

0 comments on commit 9134db0

Please sign in to comment.