Skip to content

Automatically sanitise parameter_meta strings #6

@multimeric

Description

@multimeric

If you try to:

from wdlgen import ParameterMeta
ParameterMeta(foo="\"bar\"").get_string()

The resulting WDL will look like this, which is a syntax error:

version 1.0

task Bedtools {
  parameter_meta {
    foo: ""bar""
  }
}

I think that quotes inside the string should be escaped using \".

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