-
Notifications
You must be signed in to change notification settings - Fork 10
Job script templates
kaazoo edited this page Jul 28, 2015
·
1 revision
Home / Script Templates
Script templates are used by ScriptGenerators 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.
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.
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