Commit 89f53d36 authored by Floreal Cabanettes's avatar Floreal Cabanettes
Browse files

Add description to components

parent 59528fd3
......@@ -45,6 +45,7 @@ class Component(object):
self.prefix = "default"
self.params_order = []
self.output_directory = None
self.description = None
self.config_reader = JFlowConfigReader()
self.version = self.get_version()
if isinstance(self.version, bytes):
......@@ -68,7 +69,10 @@ class Component(object):
try:
self.__memory = re.match( r'.*\s?mem=(\d+\w)\s?.*', self.batch_options).group(1)
except: pass
def get_description(self):
return self.description
def get_cpu(self):
return self.__cpu
......
Supports Markdown
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