Entering edit mode
7.6 years ago
kevin.o.oluoch
▴
70
I want to create a directory and sub-directory from two input parameters. I want the command on the terminal to be
mkdir -p DIRECTORY/SUBDIRECTORY
How do I remove space between parameters in common workflow language?
My current code is:
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool
inputs:
DIRECTORY:
type: string
inputBinding:
prefix: -p
separate: false
position: 1
SUBDIRECTORY:
type: string
inputBinding:
prefix: /
separate: false
position: 2
outputs: []
baseCommand: mkdir
Hi Michael R. Crusoe,
I've tried running it but i get the following error:
:1:1: Expression evaluation error: DIRECTORY'DIRECTORY'
Kindly help.
Whoops, I didn't test the code. I added the missing
inputs.
to the$(…)
references and the missings
toarguments
.