Commit 0efbe439 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Add folders to the list of outputs (no downloadable) + get descriptions per components

parent 5e607311
......@@ -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()
......
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