Skip to content

defaults render cwl invalid #41

Open

Description

@mwalzer

e.g.

the `param_debug` field is not valid because
                               tried int but
                                 `u'0'` is not int

which is

 - default: '0'
  doc: Sets the debug level
  id: param_debug
  inputBinding:
    prefix: -debug
  label: Sets the debug level
  type:
  - 'null'
  - int

So, the defaults type must match (one of?) the cwl param type defined

Activity

  1. mwalzer commented on Dec 6, 2018

    @mwalzer
    ContributorAuthor

    There is another problem downstream the correction of the type:
    Trailing text argument(s) '[false, false, false, false, false, false, false, false, false, false]' given. Aborting!
    So, from the perspective of OpenMS tools, which have the defaults built-in, and pass that information on to the ctd file, I am not sure if repeating the defaults in the cwl as defaults is the thing to do. Maybe a doc string would be more robust.
    But the abort issue is actually caused by something other than that: flags (parameters without argument) are placed in the cwl associated with (default)values (of their boolean default values in the tool).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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