aws-samples / amazon-omics-tutorials

Apache License 2.0
57 stars 24 forks source link

Invalid CreateWorkflow call in Workflows Tutorial #5

Closed biasit closed 1 year ago

biasit commented 1 year ago

The following code:

workflow = create_workflow(
    'workflows/nf/sample',
    parameters={
        "greeting": "(string) greeting to use",
        "addressee": "(string) who to greet"
    },
    name="GreetingsNF",
    description="Greetings Nextflow workflow",
    main="main.nf"
)

uses incorrect parameters format. The correct parameters format is as follows:

workflow = create_workflow(
    'workflows/nf/sample',
    parameters={
          "greeting": {
              "description": "greeting to use"
          },
         "addressee": {
              "description": "who to greet"
          }
    },
    name="GreetingsNF",
    description="Greetings Nextflow workflow",
    main="main.nf"
)
wleepang commented 1 year ago

Thanks for pointing this out. This should be resolved with #8. Feel free to reopen if this is still an issue.