Project

General

Profile

Actions

Bug #20493

closed

Optional file array inputs are not rendered even when defined

Added by Peter Amstutz 12 months ago. Updated 11 months 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 #1

Updated by Peter Amstutz 12 months ago

  • Target version changed from Development 2023-05-10 sprint to Development 2023-05-24 sprint
Actions #2

Updated by Peter Amstutz 12 months ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz 12 months ago

  • Description updated (diff)
Actions #4

Updated by Peter Amstutz 12 months ago

  • Assigned To set to Peter Amstutz
Actions #5

Updated by Peter Amstutz 12 months ago

  • Assigned To changed from Peter Amstutz to Brett Smith

Brett will try to reproduce

Actions #6

Updated by Peter Amstutz 12 months ago

Peter will look at it on customer cluster

Actions #7

Updated by Peter Amstutz 12 months ago

  • Assigned To changed from Brett Smith to Stephen Smith
Actions #8

Updated by Peter Amstutz 12 months ago

  • Description updated (diff)
Actions #9

Updated by Peter Amstutz 12 months ago

  • Description updated (diff)
Actions #10

Updated by Brett Smith 12 months ago

  • Subject changed from File array inputs not working to Optional file array inputs are not rendered even when defined
  • File cat.cwl cat.cwl added

Do the I/O panels handle optional inputs?

Confirmed they do not. If you register the attached workflow, in_files is listed in Workbench 2 as "Cannot display value." Here it is on pirca.

Actions #11

Updated by Peter Amstutz 12 months ago

  • Release set to 63
Actions #13

Updated by Peter Amstutz 11 months ago

  • Assigned To changed from Stephen Smith to Peter Amstutz
Actions #14

Updated by Peter Amstutz 11 months ago

  • Status changed from New to In Progress
Actions #15

Updated by Peter Amstutz 11 months ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF