You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Snakemake example is specific in that the analysis would like to use wildcards in rules's parameters, which is usually done by means of lambda functions working on the wildcard object.
The submission of the same workflow to REANA does not pass:
$ reana-client create -w test==> ERROR: Cannot create workflow test:Object of type function is not JSON serializable
Expected behaviour
It should be possible to create workflows that run well locally.
Notes
This problem may be best addressed as part of the "thin client" sprint when the client would send only files and the workflow creation will be fully done on the server side.
If it is possible to find a workaround in the client and server combination for the forthcoming 0.9.4 release, that would be even better.
The text was updated successfully, but these errors were encountered:
One possible workaround until we solve the problem is to "duplicate" the rules so that parameters don't have to be wildcards. (This could be acceptable in case the number of samples is small.) Here's the working example:
Current behaviour
Consider the following workflow example:
reana.yaml
content:inputs.yaml
content:Snakefile
content:This Snakemake example is specific in that the analysis would like to use wildcards in rules's parameters, which is usually done by means of lambda functions working on the wildcard object.
The local execution works well:
The submission of the same workflow to REANA does not pass:
Expected behaviour
It should be possible to create workflows that run well locally.
Notes
This problem may be best addressed as part of the "thin client" sprint when the client would send only files and the workflow creation will be fully done on the server side.
If it is possible to find a workaround in the client and server combination for the forthcoming 0.9.4 release, that would be even better.
The text was updated successfully, but these errors were encountered: