nf-core_modules/tests/software/appyter/main.nf
Edmund Miller 5c116dba78
refactor(appyter): Use an input dir instead of single file
This uses an input directory rather than a single file to handle an
ambiguous amount of input files for any random appyter. If it doesn't
take an input files the directory can be blank.

Co-authored-by:  sruthipsuresh <sps180004@utdallas.edu>
2021-03-17 12:06:37 -05:00

12 lines
434 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { APPYTER } from '../../../software/appyter/main.nf' addParams( appyter_image: "maayanlab/appyter-example:0.0.3-0.12.2" )
workflow test_appyter {
def input = []
input = file("${launchDir}/tests/software/appyter/input.json", checkIfExists: true)
input_dir = file("${launchDir}/tests/software/appyter/input", checkIfExists: true)
APPYTER ( input, input_dir )
}