Tidy up and add mock optional file example
This commit is contained in:
parent
62afff20c4
commit
6ee6f171d8
@ -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
11
data/OPTIONAL_FILE
Normal 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}
|
||||
# """
|
||||
@ -65,7 +65,6 @@ profiles {
|
||||
awsbatch {
|
||||
process {
|
||||
executor = 'awsbatch'
|
||||
//queue = "${params.aws_queue}"
|
||||
queue = "${params.aws_queue}"
|
||||
memory = '8G'
|
||||
withLabel:pysam {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user