Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dxcompiler can not process Pair object #386

Open
madetunj opened this issue Sep 8, 2022 · 2 comments
Open

dxcompiler can not process Pair object #386

madetunj opened this issue Sep 8, 2022 · 2 comments
Assignees
Labels
tracked_internally Issue is tracked internally

Comments

@madetunj
Copy link

madetunj commented Sep 8, 2022

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>
@emiloslavsky emiloslavsky added the tracked_internally Issue is tracked internally label Sep 20, 2022
@emiloslavsky
Copy link
Collaborator

emiloslavsky commented Sep 20, 2022

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

@Gvaihir
Copy link
Contributor

Gvaihir commented Oct 13, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracked_internally Issue is tracked internally
Projects
None yet
Development

No branches or pull requests

4 participants