Project

General

Profile

Actions

Bug #20493

closed

Optional file array inputs are not rendered even when defined

Added by Peter Amstutz over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Story points:
-
Release relationship:
Auto

Description

Reported that:

  1. In the process I/O panel, an input file array was displayed as "can't show" instead of rendering as expected
  2. In the panel to launch a workflow, allegedly the file array input isn't usable

Need to reproduce this, add a test, and fix it if there's an issue.

The parameter "fastqfile" shows "Cannot display value".

Here's the input type:

inputs: [
{
  "default": null,
  "id": "#main/fastqfile",
  "type": [
    "null",
    {
      "items": "File",
      "type": "array" 
    }
  ]
}
]

Here's the input value:

{
"fastqfile": [
  {
   "basename": "A427.fastq.gz",
   "class": "File",
   "http://arvados.org/cwl#collectionUUID": "zzzzz-...",
   "location": "keep:.../A427.fastq.gz",
   "size": 12345
  }
]
}

The type being "null" or "file array" means it is an optional input. Do the I/O panels handle optional inputs?


Files

cat.cwl (162 Bytes) cat.cwl Toy `cat` workflow with single File[]? input Brett Smith, 05/10/2023 08:36 PM

Subtasks 2 (0 open2 closed)

Task #20500: ReviewResolvedPeter Amstutz05/11/2023Actions
Task #20506: Brett will investigateResolvedBrett Smith05/10/2023Actions
Actions

Also available in: Atom PDF