Skip to content

Commit

Permalink
update to backends and appears to work with R4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vortexing committed Jul 15, 2020
1 parent 197c89c commit 156516e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: fh.wdlR
Title: Convenience Tools for Managing WDL Workflows via Cromwell
Version: 0.1.3
Version: 0.1.4
Authors@R:
person(given = "Amy",
family = "Paguirigan",
Expand All @@ -21,6 +21,6 @@ Imports:
License: GPL-3
Depends: R (>= 3.6.0)
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.0
RoxygenNote: 7.1.1
Encoding: UTF-8
LazyData: true
4 changes: 3 additions & 1 deletion R/cromwellBackends.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ cromwellBackends <- function() {
stop("CROMWELLURL is not set.")
} else
print("Getting backend options from Cromwell.")
httr::content(httr::GET(paste0(
all <- httr::content(httr::GET(paste0(
Sys.getenv("CROMWELLURL"),
"/api/workflows/v1/backends"
)))
all$supportedBackends <- unlist(all$supportedBackends)
return(all)
}

0 comments on commit 156516e

Please sign in to comment.