conductor.clarisse.scripted_class.submission module

Build an object to represent a Conductor submission.

class conductor.clarisse.scripted_class.submission.Submission(obj)

Bases: object

class Submission holds all data needed for a submission.

A Submission has many Jobs, and those Jobs each have many Tasks. A Submission can provide the correct args to send to Conductor, or it can be used to create a dry run to show the user what will happen. A Submission also sets a list of tokens that the user can access as Clarisse custom variables in order to build strings in the UI such as commands and job titles.

email_addresses

email_addresses.

filename

filename.

get_args()

Prepare the args for submission to conductor.

This is a list where there is one args object for each Conductor job. The project, notifications, and upload args are the same for all jobs, so they are set here. Other args are provided by Job objects and updated with these submission level args to form complete job submissions.

has_notifications()

has_notifications.

node_name

node_name.

submit()

Submit all jobs.

Collect their responses and show them in the log.

write_render_package()

Take the value of the render package att and save the file.

A render package is a binary representation of the project designed for rendering. It must be saved in the same directory as the project due to the way Clarisse handles relative dependencies. Currently it does not make references local, however localized refs are a planned feature for Isotropix, and for this reason we use this feature rather than send the project file itself.