blue_cwl.core.parser¶
Parsing module for cwl files.
Functions
|
Parse a cwl config file into a dictionary. |
|
Parse a cwl dict and return a CommandLineTool or Workflow object. |
|
Parse a cwl file and return a CommandLinetTool or Workflow object. |
- blue_cwl.core.parser.parse_config_file(cwl_file: str | PathLike[str]) Config¶
Parse a cwl config file into a dictionary.
- Returns:
The loaded dictionary with default values where allowed.
- blue_cwl.core.parser.parse_cwl_data(data: dict, base_dir: Path)¶
Parse a cwl dict and return a CommandLineTool or Workflow object.
- blue_cwl.core.parser.parse_cwl_file(cwl_file: str | PathLike[str])¶
Parse a cwl file and return a CommandLinetTool or Workflow object.
- Returns:
The cwl object corresponding to the file.