Quantcast
Channel: Ask the FireCloud Team — GATK-Forum
Viewing all articles
Browse latest Browse all 1147

Uploading an Array of files or strings - WDL won't overwrite data model

$
0
0

Hi-

Many of my methods rely on arrays of files as inputs from the data model. Normally, I use this wdl to populate the data model:

task read {
    File list
    command {
        ls
    }
    runtime {
        docker: "tmajarian/alpine_wget@sha256:f3402d7cb7c5ea864044b91cfbdea20ebe98fc1536292be657e05056dbe5e3a4"
    }
    output {
        Array[String] filepaths = read_lines(list)
    }
}

workflow w {
    File list_file
    call read {input: list=list_file}
}

However, it seems that if the entity attribute already has a value, this wdl does not overwrite the current attribute value. Is there a way to force an overwrite? Or possibly a better way to populate the data model with arrays? It is not ideal to run this wdl for every entity and attribute that requires an array.

Thanks!
-Tim


Viewing all articles
Browse latest Browse all 1147

Trending Articles