Project

General

Profile

Actions

Bug #19976

open

Better error when 'location' is not a string

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

Status:
New
Priority:
Normal
Assigned To:
-
Category:
CWL
Target version:
Story points:
-

Description

When a 'location' field in the input in not a string, it will fail with an error like

AttributeError: 'CommentedSeq' object has no attribute 'split'

It should explicitly check that 'location' is a string and report a more meaningful error.

Most of the code here is actually in cwltool so that might be a better place to fix it.


Files

cat.cwl (141 Bytes) cat.cwl Brett Smith, 01/24/2023 10:09 PM
cat-params.yml (38 Bytes) cat-params.yml Brett Smith, 01/24/2023 10:09 PM
Actions

Also available in: Atom PDF