...
Code Block | ||
---|---|---|
| ||
# Create a new submission type add_submission_type('Make proxy', short_name='Make Proxy', type="makeProxy", has_range=False, can_batch=False, thread_control='all', prototype="cmdline", group="Pipeline") |
Argument | Type | Default | Comment |
---|---|---|---|
type | string | The type identifier for this submission plugin. The type identifier is used, among other reasons, to determine a job's submission type which allows the UI to open the correct submission dialog upon job resubmission. | |
prototype | string | cmdline | The Qube! submission prototype. |
short_name | string | An alternative, shorter name for the submission plugin type, used when UI space is tight. | |
has_range | boolean | False | Whether the plugin should display range related fields in the Qube Basics page. |
thread_control | string | An empty string or "false" hides the Threads per instance and Instances use all cores fields from the Qube Basics page. Any other value that is not "all" will hide the Instances use all cores field only. | |
can_pad_frames | boolean | False | A value of True will include a Frame Padding field in the Qube Basics page. |
can_batch | boolean | False | Allows generation of partitions or chunks in the submitted job. |
pre_show_validate | Python function | on_pre_show_validate | This Python function is called before pre_dialog and should return a boolean that determines whether the submission dialog should be shown. |
pre_dialog | Python function | on_pre_dialog | This Python function is called immediately before the submission dialog is shown. |
post_dialog | Python function | on_post_dialog | This Python function is called after the job is created and the submission dialog is closed but before submission. |
post_submit | Python function | on_post_submit | This Python function is called after the job is submitted. |
install | Python function | install | This Python function is called when selecting the corresponding menu item in the File->Install App UI menu. |
Check the documentation for add_submission_type()
for information on the command's arguments.
2. Add a new page for the input path field
...