Commit 33a6e44a authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Add summary to the end of the workflow

parent 581319b3
......@@ -837,6 +837,12 @@ class Workflow(threading.Thread):
Return the workflow description, has to be implemented by subclasses
"""
raise NotImplementedError( "Workflow.get_description() must be implemented in " + self.__class__.__name__ )
def get_summary(self):
"""
Return a workflow summary, if implemented by subclasses
"""
return ""
def define_parameters(self, function="process"):
"""
......@@ -931,6 +937,8 @@ class Workflow(threading.Thread):
print("###########")
print("")
self.print_workflow_outputs(False)
print("")
print(self.get_summary())
except:
self._postprocess_status = self.STATUS_FAILED
raise
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment