Project

General

Profile

Actions

Idea #15406

closed

[cwl] Implement (or just document?) safer bash defaults for CommandLineTools

Added by Tom Morris almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
Story points:
-

Description

Customer suggestion:

We have a a couple of ShellCommandRequirement CommandLineTool CWLs that basically construct a command like 

bwa | bamSort.

It appears that if the 'bwa' command fails (say, producing empty output), but the end of the pipe doesn't generate an error, Arvados considers the CommandLineTool as "Completed"

It might be good to add an implied 'bash strict mode' for any tools with a ShellCommandRequirement:

I do this sometimes with "set -o pipefail" in my scripts.  

Actions #1

Updated by Tom Morris almost 5 years ago

  • Target version set to To Be Groomed
Actions #2

Updated by Peter Amstutz over 4 years ago

  • Target version deleted (To Be Groomed)
  • Status changed from New to Closed
Actions

Also available in: Atom PDF