Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 27, 2025
1 parent 36afc5c commit 8717b11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions xrtpy/response/tests/test_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,10 @@ def test_ccd_gain_right(channel_name):
channel_filter = Channel(channel_name)
ccd_gain_right = channel_filter.ccd.ccd_gain_right

idl_ccd_gain_right_auto = v6_genx_s[_channel_name_to_index_mapping[channel_name]]["CCD"]["GAIN_R"] * (u.electron / u.DN)

idl_ccd_gain_right_auto = v6_genx_s[_channel_name_to_index_mapping[channel_name]][
"CCD"
]["GAIN_R"] * (u.electron / u.DN)

assert u.isclose(ccd_gain_right, idl_ccd_gain_right_auto)


Expand Down

0 comments on commit 8717b11

Please sign in to comment.