mxcubecore.HardwareObjects.mockup.OfflineProcessingMockup#
Classes
|
Hwobj assembles input xml and launches EDNAproc autoprocessing |
- class mxcubecore.HardwareObjects.mockup.OfflineProcessingMockup.OfflineProcessingMockup(name)[source]#
Bases:
HardwareObject
Hwobj assembles input xml and launches EDNAproc autoprocessing
- autoproc_procedure(process_event, params_dict, frame_number, run_processing=True)[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
Input file is generated with create_autoproc_input Input file has a name template “edna-autoproc-input-%Y%m%d_%H%M%S.xml”.
Then it waits for XDS.INP directory and if it exists then creates input file
edna_autoprocessing.sh script is executed with parameters: - arg1 : generated xml file - arg2 : process dir
script executes EDNA EDPluginControlEDNAproc
- imageThumbnail generation for first and last image
No input file is generated
edna_thumbnails.sh script is executed with parameters: - arg1 : image base dir (place where thumb
will be generated)
arg2 : file name