Tidy up and add mock optional file example

This commit is contained in:
Chris Wright 2021-04-13 11:46:44 +01:00
parent 62afff20c4
commit 6ee6f171d8
3 changed files with 13 additions and 3 deletions

View File

@ -1,8 +1,8 @@
ARG BASEIMAGE=ontresearch/base-workflow-image:v0.1.0
FROM $BASEIMAGE
ARG ENVFILE=environment.yaml
# Minimal install for example purposes
COPY environment.yaml $HOME/environment.yaml
COPY $ENVFILE $HOME/environment.yaml
RUN \
. $CONDA_DIR/etc/profile.d/mamba.sh \
&& micromamba activate \

11
data/OPTIONAL_FILE Normal file
View File

@ -0,0 +1,11 @@
# Nothing to see here. A sentinel file to replace real data.
# e.g.:
#
# input:
# file some_data
# file extra_data
# script:
# def extra = extra_data.name != 'OPTIONAL_FILE' ? "--extra-data $opt" : ''
# """
# command ${some_data} ${extra}
# """

View File

@ -65,7 +65,6 @@ profiles {
awsbatch {
process {
executor = 'awsbatch'
//queue = "${params.aws_queue}"
queue = "${params.aws_queue}"
memory = '8G'
withLabel:pysam {