Skip to content

Commit

Permalink
adding main block to Jump class
Browse files Browse the repository at this point in the history
  • Loading branch information
penaguerrero committed Apr 11, 2024
1 parent bc3274a commit 9917aac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ documentation
- Added docs for the NIRSpec MSA metadata file to the data products area of RTD.
[#8399]

- Added __main__ to the Jump class to avoid memory leak when running
multiprocessing. []

extract_1d
----------

Expand Down
4 changes: 4 additions & 0 deletions jwst/jump/jump_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,7 @@ def process(self, input):
result.meta.cal_step.jump = 'COMPLETE'

return result


if __name__ == '__main__':
JumpStep().process()

0 comments on commit 9917aac

Please sign in to comment.