Skip to content

Commit

Permalink
Merge pull request #160 from neutrons/update_hfir_instruments
Browse files Browse the repository at this point in the history
Make list of HFIR instruments complete
  • Loading branch information
rosswhitfield authored May 1, 2024
2 parents 44604d5 + dfa24da commit f2d9a5c
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 f2d9a5c

Please sign in to comment.