-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add cwd argument to addWorkflowTask #21
Comments
The client API docs may help clarify which arguments each method accepts: http://illumina.github.io/pyflow/WorkflowRunner_API_html_doc/index.html We could potentially add this for addWorkflowTask, but what are the semantics you're looking for in this case? Could the same thing be accomplished with |
Thanks. Here is an example use case. You have a dataset of multiple samples (parent workflow) and you want to run multiple analysis for each sample in a different directory (subworkflow). Each analysis gets its own workflow (subsubworkflow) and subdirectory within the sample directory. Let's say
For point (1), in the current version, subsubworkflow still runs in the For point (2), I confirmed that the tasks enter a race condition when using RUN1: Correct structure RUN2: Incorrect structure Do you think this will be fixed any time soon? Alternatively, I can switch to using absolute paths everywhere within the script and only run shell commands for external tools through |
Currently, I can use "cwd" argument as shown in the cwd demo for "addTask", but it gives me an error "unexpected keyword argument" if I use it with "addWorkflowTask".
The text was updated successfully, but these errors were encountered: