From dfa24daa6b8d2c4238015359849ca18005124dd7 Mon Sep 17 00:00:00 2001 From: Ross Whitfield Date: Mon, 29 Apr 2024 13:48:14 +1000 Subject: [PATCH] Make list of HFIR instruments complete --- .../reporting/reporting_app/settings/base.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/webmon_app/reporting/reporting_app/settings/base.py b/src/webmon_app/reporting/reporting_app/settings/base.py index 0865a0cf..4fcd751c 100644 --- a/src/webmon_app/reporting/reporting_app/settings/base.py +++ b/src/webmon_app/reporting/reporting_app/settings/base.py @@ -334,7 +334,24 @@ def validate_ldap_settings(server_uri, user_dn_template): # set up the mapping of instruments to facilities FACILITY_INFO = defaultdict(lambda: "SNS") # SNS is the default # add hfir instruments -for instr in ["hb2c", "cg1d", "hb2a", "hb2b", "hb3a", "cg2", "cg3"]: +for instr in ( + "cg1a", + "cg1b", + "cg1d", + "cg2", + "cg3", + "cg4b", + "cg4c", + "cg4d", + "hb1", + "hb1a", + "hb2a", + "hb2b", + "hb2c", + "hb2d", + "hb3", + "hb3a", +): FACILITY_INFO[instr] = "HFIR" # read in additional values/overrides from the environment facility_info_additions = environ.get("FACILITY_INFO", "").strip()