Basic Information / Script Templates

About templates

Script templates are used by script generators to create job scripts. There are currently two types of templates: TCSH (before 0.64.4) and Python (after 0.64.4). The template files are located in DRQUEUE_ETC and their filename follows the pattern "RENDERER_sg.py".

Only the new Python templates will be described here.

Customizations

When adding custom stuff for a render engine, normally you only have to edit the specific template. All changes will then apply to every script generated using that template. So recompiling DrQueue can be avoided.

Template development

If you are developing new templates or migrating old TCSH templates, you should check for syntax errors via

python -m py_compile mytemplate_sg.py