-
Notifications
You must be signed in to change notification settings - Fork 4
Adding a New Instrument
-
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
andreduce_vars.py
, should be stored. -
Add the instrument to the
lastruns.csv
on the monitor node -
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 theMantid.properties
file. This is currently also hosted in theconfig-stash
mount and read by all reduction workers. -
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 thePYTHONPATH
environment variable withexport 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