Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the user guide for the big picture.

hopla.ccc.DelayedCCCJob

class hopla.ccc.DelayedCCCJob(delayed_submission, executor, job_id)[source]

Bases: DelayedJob

Represents a job that have been queue for submission by an executor, but hasn’t yet been scheduled.

Parameters:
delayed_submission: DelayedSubmission

a delayed submission allowing to generate the command line to execute.

executor: Executor

base job executor.

job_id: str

the job identifier.

__init__(delayed_submission, executor, job_id)[source]
generate_batch()[source]

Write the batch file.

import_image()[source]

Load the docker image if not available.

classmethod read_index(string)[source]

Reads the output of of pcocc-rs image list and returns a list available container.

read_jobid(string)[source]

Return the started job ID.

property start_command

Return the start job command.

property stop_command

Return the stop job command.

sub_report()[source]

Overload this method to extend the final report.