fix(appyter): Make appyter_image a param instead of an option

Co-authored-by:  sruthipsuresh <sps180004@utdallas.edu>
This commit is contained in:
Edmund Miller 2021-03-15 14:53:35 -05:00
parent 2d7ac8596a
commit ec97e1890b
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D
2 changed files with 3 additions and 3 deletions

View file

@ -13,9 +13,9 @@ process APPYTER {
// FIXME These rely on docker and won't work with conda
// conda (params.enable_conda ? "bioconda::fastqc=0.11.9" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
container "$options.appyter_image"
container "${params.appyter_image}"
} else {
container "$options.appyter_image}"
container "${params.appyter_image}"
}
input:

View file

@ -2,7 +2,7 @@
nextflow.enable.dsl = 2
include { APPYTER } from '../../../software/appyter/main.nf' addParams( options: [appyter_image: "maayanlab/appyter-example:0.0.3-0.12.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 = []