Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Adding a New Instrument

Dimitar Tasev edited this page Apr 22, 2021 · 10 revisions

This is a guide adding a new instrument to autoreduction.

  1. Contact Christopher Moreton-Smith to give you permission to write to the \\isis\inst$\NDX<instrument>\user\scripts\autoreduction folder. This is where the autoreduction scripts, reduce.py and reduce_vars.py, should be stored.

  2. Add the instrument to the lastruns.csv on the monitor node

  3. There’s an NFS share hosted on the config-stash machine which holds calibration files used in the Autoreduction process by Mantid. The folder Mantid looks at is defined in the Mantid.properties file. This is currently also hosted in the config-stash mount and read by all reduction workers.

  4. If the reduction script uses the Mantid built in scripts, (for example the diffraction instruments use the isis_powder module), then add the location of the module to the PYTHONPATH environment variable with export PYTHONPATH="${PYTHONPATH}:/opt/Mantid/scripts/Diffraction/". This needs to be available on every reduction worker, and it is done at the container building stage: https://github.com/ISISScientificComputing/autoreduce-containers/blob/master/qp_mantid_python36.D#L10

Clone this wiki locally