mxcubecore.HardwareObjects.MAXIV.MAXIVAutoProcessing#

Classes

class mxcubecore.HardwareObjects.MAXIV.MAXIVAutoProcessing.MAXIVAutoProcessing(name)[source]#

Bases: HardwareObject

autoproc_procedure(process_event, params_dict, frame_number)[source]#

Main autoprocessing procedure.

At the beginning correct event (defined in xml) is found. If the event is executable then accordingly to the event type (image, after) then the sequence is executed:

Implemented tasks:
  • afterMain autoprocessing procedure
    1. Input file is generated with create_autoproc_input Input file has name “edna-autoproc-input-%Y%m%d_%H%M%S.xml”.

    2. Then it waits for XDS.INP directory and if it exists then creates input file

    3. edna_autoprocessing.sh script is executed with parameters: - arg1 : generated xml file - arg2 : process dir

    4. script executes EDNA EDPluginControlAutoprocv1_0

  • imageThumbnail generation for first and last image
    1. No input file is generated

    2. edna_thumbnails.sh script is executed with parameters: - arg1 : image base dir (place where thumb will be generated) - arg2 : file name

init()[source]#

‘public’ post-initialization method. Override as needed.

For ConfiguredObjects called after loading contained objects.