Skip to content

Commit

Permalink
gohan url from config
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rocheleau committed Aug 22, 2023
1 parent 217cf8f commit 8cfdc2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/api/workflows/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ var WORKFLOW_VARIANT_SCHEMA WorkflowSchema = map[string]interface{}{
"values": []string{"true", "false"}, // simulate boolean type
"default": "false",
},
{
"id": "gohan_url",
"type": "string",
"required": true,
"value": "FROM_CONFIG",
"hidden": true,
},
},
"outputs": []map[string]interface{}{
{
Expand Down
4 changes: 2 additions & 2 deletions src/api/workflows/vcf_gz.wdl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
workflow vcf_gz {
String service_url
String gohan_url
Array[File] vcf_gz_file_names
String assembly_id
String project_id
Expand All @@ -9,7 +9,7 @@ workflow vcf_gz {

scatter(file_name in vcf_gz_file_names) {
call vcf_gz_gohan {
input: gohan_url = service_url,
input: gohan_url = gohan_url,
vcf_gz_file_name = file_name,
assembly_id = assembly_id,
project = project_id,
Expand Down

0 comments on commit 8cfdc2a

Please sign in to comment.