Skip to content

Commit

Permalink
Handle doctest print inconsistencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee authored Apr 6, 2024
1 parent 8a79eb8 commit 1d04030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/panoptes/utils/images/bayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ def get_rgb_background(data,
>>> # Can also return the Background2D objects, which is the input to save_rgb_bg_fits
>>> rgb_backs = get_rgb_background(data, return_separate=True)
>>> rgb_backs[RGB.RED]
<photutils.background.background_2d.Background2D...>
>>> print(rgb_backs[RGB.RED])
Background2D...
>>> {color.name:int(rgb_back[color].mean()) for color in RGB}
{'RED': 145, 'GREEN': 127, 'BLUE': 145}
Expand Down

0 comments on commit 1d04030

Please sign in to comment.