Skip to content

Commit

Permalink
fixed access
Browse files Browse the repository at this point in the history
  • Loading branch information
thusser committed Dec 21, 2023
1 parent 9782f43 commit e58043b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyobs/images/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __init__(
self._meta = {} if meta is None else copy.deepcopy(meta)

# add basic header stuff
if data is not None and self.header is not None:
if data is not None and self._header is not None:
self.header["NAXIS1"] = data.shape[1]
self.header["NAXIS2"] = data.shape[0]

Expand Down

0 comments on commit e58043b

Please sign in to comment.