Ticket #1394 (closed: fixed)
Implement facility speficic settings
Reported by: | Nick Draper | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | major | Milestone: | Iteration 24 |
Component: | Keywords: | ||
Cc: | campbellsi@… | Blocked By: | |
Blocking: | Tester: | Michael Whitty |
Description
create a InstrumentDir\Facilities.xml file.
<facilities> <facility name="ISIS" zeropadding="5" FileExtensions="nxs,raw,sav,n*,s*"> <archive> <archiveSearch plugin="ISISDataSearch" /> </archive> <instrument name="HRPD" shortname="HRP"> <technique name="Powder Diffraction" /> </instrument> <instrument name="WISH" zeropadding="8"> <technique name="Powder Diffraction" /> <technique name="Single Crystal Diffraction" /> </instrument> </facility> <facility name="SNS"> ... </facility> </Facilites>
This should be loaded and accesible through the config service. examples
ConfigService.Facility.Instruments() ConfigService.Facility.Instruments("Powder Diffraction").ShortName() ConfigService.Facilities("ISIS").ZeroPadding()
Attachments
Change History
Changed 10 years ago by Stuart Campbell
- Attachment instrumentlist.xml added
Current SNS instrument XML file that is in production use.
comment:9 Changed 10 years ago by Michael Whitty
- Status changed from verify to verifying
- Tester set to Michael Whitty
comment:10 Changed 10 years ago by Michael Whitty
- Status changed from verifying to closed
works as of 5912 - lack of Facilities.xml file at startup gives readable error on crash.
comment:11 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 2241
Note: See
TracTickets for help on using
tickets.
This looks similar in intent to #1388.