This change leads to impossibility to start the workflow:
$ reana-client run -w test
...
==> Starting workflow...
==> ERROR: Cannot start workflow test.1:
Invalid input paths: 'code' is a prefix of 'code/helloworld.py'
The error comes from server-side validation:
$ kubectl logs reana-server-664d5c4cfb-rkcvd rest-api
2022-08-19 09:21:58,115 | root | uWSGIWorker3Core0 | ERROR | Traceback (most recent call last):
File "/code/./reana_server/rest/workflows.py", line 1239, in start_workflow
validate_workflow(
File "/code/./reana_server/validation.py", line 127, in validate_workflow
validate_inputs(reana_yaml)
File "/code/./reana_server/validation.py", line 105, in validate_inputs
raise REANAValidationError(
reana_commons.errors.REANAValidationError: Invalid input paths: 'code' is a prefix of 'code/helloworld.py'
Consider the following change in
reana-demo-helloworld
analysis example:This change leads to impossibility to start the workflow:
The error comes from server-side validation:
We should fix it.
Stemmed from https://forum.reana.io/t/snakemake-workflows-in-reana/60