Remove sample name and run number from "autoprocessing" directory
Due to limitations of paths uploaded to ICAT we need to reduce the length of the paths generated by MXCuBE. One of the easiest wya of doing this is to reduce the length of the "autoprocessing" directory created by MXCuBE. Today this directory name can be very long:
autoprocessing_1433s-14-3-3s-C38N_P53-pT387_B426_b_1_run6_1
For "icat" enabled beamlines we can reduce the name to just autoprocessing
. For beamlines not yet converted to the "icat" version of MXCuBE the autoprocessing directory name should not be changed since on these beamlines many data sets can be collected in the same directory and hence the name of the autoprocessing directory must contain the name of the sample plus the run number.