-
Notifications
You must be signed in to change notification settings - Fork 46
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
reana-client --file foo/reana.yml does not work (relative paths) #491
Comments
(1) Are you trying to put $ reana-client validate -f docs/reana.yaml
==> Verifying REANA specification file... /home/tibor/private/project/reana/src/reana-demo-bsm-search/docs/reana.yaml
-> SUCCESS: Valid REANA specification file.
==> Verifying REANA specification parameters...
-> SUCCESS: REANA specification parameters appear valid.
==> Verifying workflow parameters and commands...
-> WARNING: Yadage parameter "workspace" found on step "makews" is not defined in input parameters.
==> Verifying dangerous workflow operations...
-> SUCCESS: Workflow operations appear valid. (2) Are you trying to call (3) BTW one thing I see not working is launching $ reana-demo-bsm-search/code
$ reana-client validate -f ../reana.yaml
...
==> ERROR: Something went wrong when trying to validate ... So if we touch the problem of launching |
I'm looking at (2) (or (3) which for me are basically the same) - the use acse is submitting many different workflows reana-client validate -f analyis_one/reana.yml without having to jump directories |
For validating or submitting, wouldn't a tiny outer shell one-liner be sufficient? $ for analysis in $(ls -d analysis_*); do cd $analysis; reana-client validate; cd ..; done Regarding (2) or (3), I see a difference. E.g. if these analyses are governed by (E.g. for detecting the last commit in each |
I think generally it's a nice property for CLIs to not depend on where the $PWD is. Could |
it would be nice if one could submit a workflow from a different pwd but right now it seems due to the relative paths declared in
reana.yml
reana-client run --name recast-pmsssm-1234 --file reana-demo-atlas-recast/reana.yaml
gives
Lukas
The text was updated successfully, but these errors were encountered: