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

Files aren't being localized to the work directory when they are workflow inputs. #301

Open
claymcleod opened this issue Jan 19, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@claymcleod
Copy link
Member

claymcleod commented Jan 19, 2025

When using a File as the input to a workflow in wdl, it doesn't appear that the files are properly being localized to the work directory. It seems as though the files are localized if they aren't inputs to the workflow.

For example,

version 1.2

task count_lines {
    input {
        File file
    }

    command <<<
      wc -l ~{file}
    >>>
}

workflow run {
    input {
        File file
    }

    call count_lines { input: file }
}

This will fail because file is not localized to the count_lines working directory.

@claymcleod claymcleod added the bug Something isn't working label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants