Bug #11692

CWL Expression Tool Javascript issue when using str.includes

Added by Sarah Zaranek 6 months ago. Updated 3 months ago.

Status:NewStart date:05/12/2017
Priority:NormalDue date:
Assignee:-% Done:


Target version:Arvados Future Sprints
Story points-
Velocity based estimate-


Again, not sure if this is a bug, and/or if it is an issue with the arvados cwl runner or cwl in general.

When I try to use certain str methods sch as str.includes in a cwl script (as part of Expression Tool) it doesn't work and stops running.

I narrowed it down and cut and pasted a simple example from a javascript doc page

var str = "Hello world, welcome to the universe.";
var n = str.includes("world");


#1 Updated by Peter Amstutz 6 months ago

str.include is not part of core Javascript. The standard library is described in the specification:


#2 Updated by Tom Morris 3 months ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF