fiaisis / run-detection

The way we detect when our system for reduction should automatically perform a reduction and with what arguments we should do that.
GNU General Public License v3.0
1 stars 1 forks source link

RunDetection does not use instrument short names #96

Closed Pasarus closed 1 year ago

Pasarus commented 1 year ago

Description of the issue

Some instruments use their full names for archived files such as INTER, and some use their "shortnames" such as MARI, so we need to take this into account in the conversion to UNIX style paths. Either directly use the basename passed to us by the ingest queue, or searching for the shortname file if the normal instrument name is not found. The preference is using the ingest queue.

See this file for the MARI example: https://github.com/mantidproject/mantid/blob/e3f20b4240d35e5cda75eadc2ffaae28a5334adc/instrument/Facilities.xml#L199