def initialize_workflow(self, workflow):
        """
        Create a workflow
        workflow - a workflow class
        """
        self.workflow = workflow()
        self.workflow.tasks = self.tasks

        self.workflow.input_file = self.input_file
        self.workflow.input_format = self.input_format
        self.workflow.target_file = self.target_file
        self.workflow.target_format = self.target_format
        self.workflow.run_id = self.run_id

        self.workflow.setup()
def initialize_workflow ( self , workflow ) : self . workflow = workflow ( ) self . workflow . tasks = self . tasks self . workflow . input_file = self . input_file self . workflow . input_format = self . input_format self . workflow . target_file = self . target_file self . workflow . target_format = self . target_format self . workflow . run_id = self . run_id self . workflow . setup ( )
Create a workflow
        workflow - a workflow class