Skip to content
#

common-workflow-language

cwl logo

CWL documents describe workflows made of command line data analysis tools in a portable, reproducible, and reusable fashion.

Here are 60 public repositories matching this topic...

cwltool
bartns
bartns commented Mar 2, 2022

Expected Behavior

cwltool ignores default values when using the argument on the command line

Actual Behavior

Calling cwltool with an argument that is a string[] in the command line will keep the the default value in the array.
Does not happen when using a yaml file as input.

Workflow Code

#!/usr/bin/env cwl-runner

cwlVersion: v1.2
class: CommandLineTool

baseCommand: 
user_guide
dshepelev15
dshepelev15 commented Aug 8, 2019

Can someone explain to me how to use InitialWorkDir requirements without any input parameters.
For instance, I need to put my shell scripts near with cwl script and run them from that cwl script. Is there some way don't use absolute path to scripts? I tried to use EnvVariable like that:

baseCommand: sh
arguments: [$SCRIPT_FOLDER/script.sh]

But it is not working.

Then I foun

Created by Peter Amstutz, John Chilton, Michael R. Crusoe, Nebojša Tijanić, and the CWL Community

Released January 2015

Organization
common-workflow-language
Website
www.commonwl.org
Wikipedia
Wikipedia