set_input

DatomaWorkflow.set_input(job_id, input_dictionary, preserve_name=False)[source]

Sets the input of a job. You can specify files or directories.

Parameters:
  • job_id (str) – ID of the job.

  • input_dictionary (dict) – Dictionary with specified files/directories for each input.

  • preserve_name (bool, optional) – Option to preserve the local file name, necessary for some workflows. Defaults to False

Raises:

Exception – If the specified job ID is not found.