Commit 50e37e55 authored by Wei Chengliang's avatar Wei Chengliang
Browse files

typo fix

parent 4d79505a
Pipeline #7122 passed with stage
in 0 seconds
...@@ -336,7 +336,7 @@ class SpecDisperser(object): ...@@ -336,7 +336,7 @@ class SpecDisperser(object):
orders = {"A": "1st", "B": "0st", "C": "2st", "D": "-1st", "E": "-2st"} orders = {"A": "1st", "B": "0st", "C": "2st", "D": "-1st", "E": "-2st"}
sens_file_name = conffile[0:-5] + \ sens_file_name = conffile[0:-5] + \
"_sensitivity_" + orders[beam] + ".fits" "_sensitivity_" + orders[beam] + ".fits"
if os.path.exists(sens_file_name) if False: if os.path.exists(sens_file_name) is False:
senstivity_out = Table( senstivity_out = Table(
array([w, sens]).T, names=("WAVELENGTH", "SENSITIVITY")) array([w, sens]).T, names=("WAVELENGTH", "SENSITIVITY"))
senstivity_out.write(sens_file_name, format="fits") senstivity_out.write(sens_file_name, format="fits")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment