Entering edit mode
7.0 years ago
I have a script which takes a file prefix and assumes that prefix.$NUMBER is in the working directory. In addition I have to create a file in the workdir. In essence I want to combine the two listings below:
listing: |
${
var listing = inputs.mydir.listing;
listing.push(inputs.myfile);
return listing;
}
and
listing:
- entryname: config.json
entry: |
{
"global" : true ,
"debug" : "2t"
}
I tried:
listing:
- entryname: config.json
entry: |
{
"global" : true ,
"debug" : "2"
}
- ${var f =inputs.nr_dir.location.concat('/').concat(inputs.nr_prefix).concat('.1'); return f; }
- ${var f =inputs.nr_dir.location.concat('/').concat(inputs.nr_prefix).concat('.2'); return f; }
and
- $(inputs.nr_dir.path)/$(inputs.nr_prefix).1
Thank you for your help.
Can you share your entire CWL description? The inputs section I can infer some details about -- but it would be best if I didn't guess.
Can you provide a sample layout of what you want the working directory to look like? I'm not quite clear as to what your goal is.