Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
genotoul-bioinfo
jflow
Commits
33a6e44a
Commit
33a6e44a
authored
Mar 01, 2017
by
Floreal Cabanettes
Browse files
Add summary to the end of the workflow
parent
581319b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jflow/workflow.py
View file @
33a6e44a
...
@@ -837,6 +837,12 @@ class Workflow(threading.Thread):
...
@@ -837,6 +837,12 @@ class Workflow(threading.Thread):
Return the workflow description, has to be implemented by subclasses
Return the workflow description, has to be implemented by subclasses
"""
"""
raise
NotImplementedError
(
"Workflow.get_description() must be implemented in "
+
self
.
__class__
.
__name__
)
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"
):
def
define_parameters
(
self
,
function
=
"process"
):
"""
"""
...
@@ -931,6 +937,8 @@ class Workflow(threading.Thread):
...
@@ -931,6 +937,8 @@ class Workflow(threading.Thread):
print
(
"###########"
)
print
(
"###########"
)
print
(
""
)
print
(
""
)
self
.
print_workflow_outputs
(
False
)
self
.
print_workflow_outputs
(
False
)
print
(
""
)
print
(
self
.
get_summary
())
except
:
except
:
self
.
_postprocess_status
=
self
.
STATUS_FAILED
self
.
_postprocess_status
=
self
.
STATUS_FAILED
raise
raise
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment