set_global_input

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

Sets the global input of the workflow. You can specify files or directories.

Parameters:
  • 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 a specific global input is not found.

  • ValueError – If the global input field is not found on the workflow.