Skip to content

[WIP] Abstract procedure

Marcus Oskarsson requested to merge abs_proc into master

Created by: IvarsKarpics

  • Added variables offline_processing_methods and online_processing_methods to the Beamline. Both are lists of strings and are populated based on beamline_config.yml. Processing methods are are listed in the processing widget. For example: offline_processing_methods = ["EDNAProc", "AutoProc"] will result in displaying "Run offline processing (EDNAProc, AutoProc)". If not method is defined then the checkbox is unchecked and disabled.
  • Renamed run_processing_parallel to run_offline_processing. True will check the checkbox "Run offline processing" in processing_widget.
  • Cleaned up AbstractCollect: removed not used imports, inherit class from AbstractProcedure, implemented _pre_execute, _execute and post_execute. Currently methods are empty and in the next PR will be reviewed.
  • AbstractOnlineProcessing is inherited now from AbstractProcedure. Removed not used code.
  • Cleaned AbstractProcedure. For sure it is not the final version, but at least to start with.
  • CollectMockup reviewed and cleaned.
  • queue_entry is modified based on signals emitted by CollectMockup, OnlineProcessingMockup (both based on AbstractProcedure)

Now mockup data collection is running and there are online processing results displayed.

Edited by Alejandro Homs Puron

Merge request reports