Skip to content

Commit c110467

Browse files
mwalker174lbergelson
authored andcommitted
Default to expanding subworkflows (#36)
* metadata operations will now include subworkflow information
1 parent 28cd51c commit c110467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cromshell

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ FOLDER_URL=$( echo ${CROMWELL_URL} | sed -e 's#ht.*://##g' )
3838
CROMSHELL_CONFIG_DIR=${HOME}/.cromshell
3939
mkdir -p ${CROMSHELL_CONFIG_DIR}
4040

41-
CROMWELL_METADATA_PARAMETERS="excludeKey=submittedFiles"
41+
CROMWELL_METADATA_PARAMETERS="excludeKey=submittedFiles&expandSubWorkflows=true"
4242
CROMWELL_SUBMISSIONS_FILE="${CROMSHELL_CONFIG_DIR}/all.workflow.database.tsv"
4343

4444
[ ! -f ${CROMWELL_SUBMISSIONS_FILE} ] && echo -e "DATE\tCROMWELL_SERVER\tRUN_ID\tWDL_NAME\tSTATUS" > ${CROMWELL_SUBMISSIONS_FILE}
@@ -372,7 +372,7 @@ function slim-metadata()
372372
{
373373
turtle
374374
assertCanCommunicateWithServer $2
375-
curl --connect-timeout $CURL_CONNECT_TIMEOUT --compressed -s "${2}/api/workflows/v1/$1/metadata?includeKey=executionStatus&includeKey=backendStatus" | jq .
375+
curl --connect-timeout $CURL_CONNECT_TIMEOUT --compressed -s "${2}/api/workflows/v1/$1/metadata?includeKey=executionStatus&includeKey=backendStatus&expandSubWorkflows=true" | jq .
376376
checkPipeStatus "Could not connect to Cromwell server." "Could not parse JSON output from cromwell server."
377377
return $?
378378
}

0 commit comments

Comments
 (0)