Skip to content

Commit

Permalink
cleaner outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
vortexing committed Feb 20, 2020
1 parent 2839f63 commit f53570c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/cromwellOutputs.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ cromwellOutputs <- function(workflow_id) {
Z <- data.frame("pathToOutput" = unlist(x), stringsAsFactors = F)
dplyr::mutate(Z, shardIndex = gsub("/.*$", "", gsub("^.*shard-", "", Z$pathToOutput)))
}, .id = "workflowMeta")
# separate out the workflowName and workflowOutputType columnes
out$shardIndex[out$shardIndex == ""] <- NA
# separate out the workflowName and workflowOutputType columns
outputsDf <- tidyr::separate(outputsDf, workflowMeta,
c("workflowName","workflowOutputType"),
sep = "\\.")
Expand Down

0 comments on commit f53570c

Please sign in to comment.