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

Update to support Cromwell tasks and structs dependencies via zip file #20

Open
TomGardner opened this issue Sep 16, 2020 · 2 comments
Open

Comments

@TomGardner
Copy link

TomGardner commented Sep 16, 2020

Cromwell supports imports from sub-directories tasks and structs via a zip file.
This issue is for an enhancement to support this functionality.

Update to Dockerfile could be similar to:
COPY dependencies.zip /wdl_runner

Update to wdl_runner.sh could be similar to:
`

Execute the wdl_runner

python -u wdl_runner.py
--wdl wf.wdl
--workflow-inputs wf.inputs.json
--working-dir "${WORKSPACE}"
--workflow-options wf.options.json
--workflow-dependencies dependencies.zip
--output-dir "${OUTPUTS}"`

Update to wdl_runner.py (main) could be similar to:
parser.add_argument('--workflow-dependencies', required=False, help='The workflow dependencies (ZIP) file')

And (run):
`

Submit the job to the local Cromwell server

    (result, metadata) = self.driver.submit(self.args.wdl,
                                            self.args.workflow_inputs,
                                            self.args.workflow_options,
                                            self.args.workflow_dependencies)`
@hisplan
Copy link

hisplan commented Oct 30, 2021

Has this been implemented into wdl_runner?

@TomGardner
Copy link
Author

TomGardner commented Oct 30, 2021

Hi. Sorry I closed this by mistake. I don't know if this has been implemented yet. Re-opened.

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

No branches or pull requests

2 participants