-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed some CWL translator issues (#628)
This commit fixes several CWL translator issues: - Fix the retrieval of the step name from the `cwl-utils` objects. Before this commit, the `out` attribute of a `WorkflowStep` object was always expected to be a list of strings. Instead, it should be a list of `Any`, following the typing hint of the `cwl_utils.parser.WorkflowStep` constructor. In particular, it can contain `WorkflowStepOutput` objects. - Fix the `CommandOutputProcessor` creation when a schema is defined. Before this commit, the `CommandInputRecordSchema` was not included in the `RecordSchema` case. Similar for `EnumSchema` and `ArraySchema` cases, respectively. - Fix `optional` inputs inside a scatter step - Fix the `_get_path` method in the CWL translator module. When the `id` field is explicitly defined in a CWL file, the `element_id` of the corresponding Python object is constructed as `/path/to/file#id` - Fix the configuration file's path stored in the `DataManager`. Before this commit, it was saved the path defined in the StreamFlow file, which could be a relative path - Fix `optional` inputs of type `list` or `record`. Before this commit, some workflows were failing because their input data were erroneously treated as mandatory
- Loading branch information
1 parent
cff8eb2
commit 5cad7bf
Showing
6 changed files
with
119 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.