Job

A Job class represents a validation job in RaptorXML.

class Job

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

The Job class provides the following instance attribute (read-only):

Job.output_dir

Returns a file url with the job’s output directory (when in server mode) otherwise the current working directory.

Job.script_params

Returns a dict (a built-in Python data structure) with the user-specified script parameters (using the --script-param option).

The Job class provides the following instance method:

Job.append_ouptput_filename(filename)

Adds an additional output filename to the list of the job’s output files. This list is shown in the output on the command line, and in the job’s result document returned via the HTTP interface.