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

Regression: URLs strings can no longer be converted to File in WDL. #5058

Closed
adamnovak opened this issue Aug 14, 2024 · 0 comments · Fixed by #5059
Closed

Regression: URLs strings can no longer be converted to File in WDL. #5058

adamnovak opened this issue Aug 14, 2024 · 0 comments · Fixed by #5059
Assignees

Comments

@adamnovak
Copy link
Member

adamnovak commented Aug 14, 2024

Similar to #5031, there's been a regression in WDL File handling for coercing URLs Strings to File. This is part of #5057; that workflow relies on reading a TSV of URLs and coercing the entries to Files. In Toil 7.0.0, that part of the workflow worked; in Toil 7d4d074 it does not. The URLs get nonexistent: prepended to them, because I guess they aren't local files.

Here's a minimal workflow to reproduce the problem, with no inputs.

version 1.0

workflow url_to_file {
    input {
    }

    File the_file = "https://hgdownload.soe.ucsc.edu/goldenPath/hs1/bigZips/hs1.chrom.sizes"

    output {
        File out_file = the_file
        String first_line = read_lines(the_file)[0]
    }
}

Note that MiniWDL also can't handle this, but I think Cromwell does what you would expect here.

┆Issue is synchronized with this Jira Story
┆Issue Number: TOIL-1630

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

Successfully merging a pull request may close this issue.

1 participant