Commit 7e2c9a19 authored by Céline Noirot's avatar Céline Noirot
Browse files

micro debug

parent 36e4b0bf
......@@ -51,7 +51,7 @@ class Component(object):
self.version = self.version.decode()
self.batch_options = self.config_reader.get_component_batch_options(self.__class__.__name__)
# in case of SGE, parse the cpu and memory parameter
type, options, limit_submission = self.jflow_config_reader.get_batch()
type, options, limit_submission = self.config_reader.get_batch()
if type.lower() == "sge":
try:
self.__cpu = int(re.match( r'.*-pe\s+(\w+)\s+(\d+)\s?.*', self.batch_options).group(2))
......
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