__init__

DatomaWorkflow.__init__(path_yaml=None, path_json=None, official_name=None, import_json=None)[source]

Initializes a DatomaWorkflow object.

Parameters:
  • path_yaml (str, optional) – Path where the .yml file is located, defaults to None.

  • path_json (str, optional) – Path where the .json file is located, defaults to None.

  • official_name (str, optional) – Official name of the workflow, defaults to None.

  • import_json (str, optional) – Path to a JSON file with the workflow information, defaults to None.

Raises:
  • Exception – If two or more parameters are specified at the same time, besides path_yaml and path_json.

  • FileNotFoundError – If the file could not be found.

  • Exception – If the official workflow could not be retrieved.