Skip to content

Valid workflow cannot have RDF generated due to lack of urlencoding #444

Open
@MarkRobbo

Description

@MarkRobbo

Problem

When running

cwltool --validate https://raw.githubusercontent.com/ProteinsWebTeam/ebi-metagenomics-cwl/f6b5196bd493b0872ee6e63aa3499738bb7d53d6/workflows/emg-pipeline-v3.cwl

The workflow passes validation without issue. However when trying to generate RDF

cwltool --print-rdf https://raw.githubusercontent.com/ProteinsWebTeam/ebi-metagenomics-cwl/f6b5196bd493b0872ee6e63aa3499738bb7d53d6/workflows/emg-pipeline-v3.cwl
I'm sorry, I couldn't load this CWL file, try again with --debug for more information.
The error was: "https://raw.githubusercontent.com/ProteinsWebTeam/ebi-metagenomics-cwl/f6b5196bd493b0872ee6e63aa3499738bb7d53d6/tools/biom-convert-table.yaml#table_type/Function table" does not look like a valid URI, I cannot serialize this as N3/Turtle. Perhaps you wanted to urlencode it?

URLs generated by cwltool are not urlencoded before generating the Turtle representation and so an error is thrown. These should be urlencoded or cwltool more restrictive on the types of symbols allowed.

Workflow Code

Overall workflow

Problem file with space in symbols

Your Environment

  • cwltool version: 1.0.20170622090721

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions