Skip to content

Commit

Permalink
Make list of HFIR instruments complete
Browse files Browse the repository at this point in the history
  • Loading branch information
rosswhitfield committed Apr 29, 2024
1 parent 44604d5 commit dfa24da
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/webmon_app/reporting/reporting_app/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit dfa24da

Please sign in to comment.