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
|
ARG BASEIMAGE=ontresearch/base-workflow-image:v0.1.0
|
||||||
FROM $BASEIMAGE
|
FROM $BASEIMAGE
|
||||||
|
ARG ENVFILE=environment.yaml
|
||||||
|
|
||||||
# Minimal install for example purposes
|
COPY $ENVFILE $HOME/environment.yaml
|
||||||
COPY environment.yaml $HOME/environment.yaml
|
|
||||||
RUN \
|
RUN \
|
||||||
. $CONDA_DIR/etc/profile.d/mamba.sh \
|
. $CONDA_DIR/etc/profile.d/mamba.sh \
|
||||||
&& micromamba activate \
|
&& 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 {
|
awsbatch {
|
||||||
process {
|
process {
|
||||||
executor = 'awsbatch'
|
executor = 'awsbatch'
|
||||||
//queue = "${params.aws_queue}"
|
|
||||||
queue = "${params.aws_queue}"
|
queue = "${params.aws_queue}"
|
||||||
memory = '8G'
|
memory = '8G'
|
||||||
withLabel:pysam {
|
withLabel:pysam {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user