Skip to content

Commit

Permalink
fix bug in AmiAverageStep spec that prevents step creation (spacetele…
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram authored Jul 29, 2024
2 parents f97dc68 + cf91724 commit c728859
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
1.15.2 (unreleased)
===================

ami_average
-----------

- Fix error in step spec that prevents step creation. [#8677]

assign_wcs
----------

Expand Down
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 c728859

Please sign in to comment.