From 6aa28c5be15d04bb749154e22852f4e53f6efbb1 Mon Sep 17 00:00:00 2001 From: Eunkyu Han Date: Mon, 2 Dec 2024 13:57:11 -0500 Subject: [PATCH] Throughput file updates. Each detector has its own throughput table --- romanisim/tests/test_bandpass.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/romanisim/tests/test_bandpass.py b/romanisim/tests/test_bandpass.py index 5256211..01ae77d 100644 --- a/romanisim/tests/test_bandpass.py +++ b/romanisim/tests/test_bandpass.py @@ -31,8 +31,9 @@ def test_read_gsfc_effarea(tmpdir_factory, sca=1): data_table['Dwarf Planet'] = ['Eris', 'Pluto', 'Makemake', 'Haumeua'] data_table.write(table_file) - # with open(table_file, 'r') as tmp_file: - # file_data = tmp_file.read() + + with open(table_file, 'r') as tmp_file: + file_data = tmp_file.read() # Removing the followings as the ECSV files should start with the ECSV version # with open(table_file, 'w') as tmp_file: # tmp_file.write("Header Comment line \n" + file_data)