Skip to content

Commit 2ded5f6

Browse files
Effective area is stored as a dictionary now
1 parent 2dcae9f commit 2ded5f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_instrument.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def setup_instrument_hardware():
4848

4949
def run_mirror_coating_tests(hardware):
5050
assert hardware.wavelengths.unit == u.Angstrom
51-
assert hardware.effective_area.unit == u.cm**2
51+
assert hardware.effective_area['170.0 Angstrom'].unit == u.cm**2
5252

5353

5454
if __name__ == "__main__":

0 commit comments

Comments
 (0)