test_tool_bunny: Test tools in rabix/bunny

Description Usage Arguments Value Examples

View source: R/api-utils.R

Description

Test tools locally in rabix/bunny inside docker container

Usage

1
test_tool_bunny(rabix_tool, inputs)

Arguments

rabix_tool

rabix tool from Tool class

inputs

input parameters declared as json (or yaml) string

Value

bunny stdout

Examples

1
2
3
4
5
6
## Not run: 
inputs <- '{"counts_file": {"class": "File", "path": "./FPKM.txt"}, "gene_names": "BRCA1"}'
rbx <- <define rabix tool>
set_test_env("tengfei/testenv", "<mount_dir>")
test_tool_bunny(rbx, inputs)
## End(Not run)

sevenbridges documentation built on March 25, 2021, 6 p.m.