def _render(self, job, name):
    ctx = {}
    for o in job.tool.options:
        ctx[o.name] = o
    ctx['name'] = self.name
    ctx['job'] = self
    return render_template(('%s%s' % (('' if (not self.prefix) else self.prefix), name)), **ctx)
def _render(self, job, name):
    ctx = {}
    for o in job.tool.options:
        ctx[o.name] = o
    ctx['name'] = self.name
    ctx['job'] = self
    return render_template(('%s%s' % (( if (not self.prefix) else self.prefix), name)), **ctx)