dxCompiler icon indicating copy to clipboard operation
dxCompiler copied to clipboard

dxcompiler can not process Pair object

Open madetunj opened this issue 3 years ago • 2 comments

I use Array[Pair[X,Y]] = zip(Array[X], Array[Y]) in my wdl workflow at line Using dxCompiler gives an illegal expression failure error. Is there a workaround for this?

[31m[error] failure executing Workflow action 'run'
wdlTools.eval.EvalException: member access (left) in expression is illegal at 1:0-1:22 in <string>

madetunj avatar Sep 08 '22 18:09 madetunj

thanks! Reproduced. will look into it. internal tracker: APPS-1422

emiloslavsky avatar Sep 20 '22 20:09 emiloslavsky

@madetunj Workaround is to declare an intermediate variable

Pair[File, File] sample_pair = sample_fastqfiles[0]

Then reference it by sample_pair.left.

I'm checking the root cause of the issue though

Gvaihir avatar Oct 13 '22 00:10 Gvaihir