Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
jflow
Commits
0efbe439
Commit
0efbe439
authored
Oct 19, 2016
by
Floreal Cabanettes
Browse files
Add folders to the list of outputs (no downloadable) + get descriptions per components
parent
5e607311
Changes
1
Show whitespace changes
Inline
Side-by-side
src/jflow/workflow.py
View file @
0efbe439
...
...
@@ -34,6 +34,8 @@ from configparser import ConfigParser, NoOptionError
from
inspect
import
getcallargs
from
datetime
import
date
as
ddate
from
collections
import
OrderedDict
import
jflow
import
jflow.utils
as
utils
from
jflow.utils
import
validate_email
...
...
@@ -586,8 +588,15 @@ class Workflow(threading.Thread):
else
:
return
None
def
get_description_per_components
(
self
):
dag
=
self
.
get_execution_graph
()
descriptions
=
{}
for
current_components
in
self
.
components
:
descriptions
[
current_components
.
get_nameid
()]
=
current_components
.
get_description
()
return
descriptions
def
get_outputs_per_components
(
self
):
outputs_files
=
{}
outputs_files
=
OrderedDict
()
for
current_components
in
self
.
components
:
#status = self.get_component_status(current_components.get_nameid())
outputs_files
[
current_components
.
get_nameid
()]
=
current_components
.
get_output_files
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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