Skip to content

Commit

Permalink
Add kwarg default
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Jan 23, 2024
1 parent 86f4744 commit 88b2abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specutils/utils/wcs_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class SpectralGWCS(GWCS):
def __init__(self, *args, **kwargs):
self.original_unit = kwargs.pop("original_unit")
self.original_unit = kwargs.pop("original_unit", "")
super().__init__(*args, **kwargs)

def pixel_to_world(self, *args, **kwargs):
Expand Down

0 comments on commit 88b2abd

Please sign in to comment.