Skip to content

Commit

Permalink
fix prepare label bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsong committed Sep 3, 2021
1 parent 1db7a2b commit aa6017c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/variantstore/wdl/GvsPrepareCallset.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ task PrepareCallsetTask {
String docker
}
# Note the coercion of optional query_labels using select_first([expr, default])
Array[String] query_label_args = if defined(query_labels) then prefix("--query_labels ", select_first([query_labels])) else []
Array[String] query_label_args = prefix("--query_labels ", select_first([query_labels, []]))

String has_service_account_file = if (defined(service_account_json_path)) then 'true' else 'false'
String use_sample_names_file = if (defined(sample_names_to_extract)) then 'true' else 'false'
Expand Down

0 comments on commit aa6017c

Please sign in to comment.