def __init__(self, name=None, threads=None, nodes=None, tasks=None, tasks_per_node=None, environment=None, time=None, queue=None, priority=None, log=None, out=None, account=None, mem=0, extra=None, profile=None, prefix=None, temp=False, _load=True, env=None, tool_name=None, working_dir=None, description=None, specs=None, _name=None, **kwargs):
    self._name = (name if (not _name) else _name)
    self.environment = render_template(environment)
    self.nodes = render_template(nodes)
    self.threads = render_template(threads)
    self.tasks = render_template(tasks)
    self.tasks_per_node = render_template(tasks_per_node)
    self.profile = render_template(profile)
    self.queue = render_template(queue)
    self.time = render_template(time)
    self.mem = render_template(mem)
    self.priority = render_template(priority)
    self.log = log
    self.out = out
    self.account = render_template(account)
    self.prefix = render_template(prefix)
    self.description = description
    self.env = env
    self.temp = temp
    self.extra = extra
    self.tool_name = tool_name
    self.working_dir = working_dir
    if ((self.working_dir is None) and kwargs.get('dir', None)):
        self.working_dir = kwargs['dir']
    self.specs = (specs if specs else {})
    if ((profile is not None) and _load):
        self.load(profile)
def __init__(self, name=None, threads=None, nodes=None, tasks=None, tasks_per_node=None, environment=None, time=None, queue=None, priority=None, log=None, out=None, account=None, mem=0, extra=None, profile=None, prefix=None, temp=False, _load=True, env=None, tool_name=None, working_dir=None, description=None, specs=None, _name=None, **kwargs):
    self._name = (name if (not _name) else _name)
    self.environment = render_template(environment)
    self.nodes = render_template(nodes)
    self.threads = render_template(threads)
    self.tasks = render_template(tasks)
    self.tasks_per_node = render_template(tasks_per_node)
    self.profile = render_template(profile)
    self.queue = render_template(queue)
    self.time = render_template(time)
    self.mem = render_template(mem)
    self.priority = render_template(priority)
    self.log = log
    self.out = out
    self.account = render_template(account)
    self.prefix = render_template(prefix)
    self.description = description
    self.env = env
    self.temp = temp
    self.extra = extra
    self.tool_name = tool_name
    self.working_dir = working_dir
    if ((self.working_dir is None) and kwargs.get('dir', None)):
        self.working_dir = kwargs['dir']
    self.specs = (specs if specs else {})
    if ((profile is not None) and _load):
        self.load(profile)