Skip to content

Commit c306d4e

Browse files
authored
Merge pull request #4 from MaxUlysse/0.25.3
Update to use Nextflow 0.25.3
2 parents 5d94471 + fa2f016 commit c306d4e

File tree

7 files changed

+13
-26
lines changed

7 files changed

+13
-26
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
- docker
99

1010
env:
11-
- NXF_VER=0.25.0 SGT_VER=2.3.1
11+
- NXF_VER=0.25.3 SGT_VER=2.3.1
1212

1313
install:
1414
- curl -fsSL get.nextflow.io | bash

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ nextflow run MaxUlysse/compile-beamer /
1616

1717
## Usage with Singularity [![Singularity status][singularity-badge]][singularity-link]
1818

19-
First dowload the container using
20-
```bash
21-
singularity pull --name container/compile-beamer-1.5.img shub://MaxUlysse/compile-beamer
22-
```
23-
24-
Then you can directly use compile-beamer
25-
2619
```bash
2720
nextflow run MaxUlysse/compile-beamer /
2821
-profile singularity /
@@ -35,7 +28,7 @@ nextflow run MaxUlysse/compile-beamer /
3528
[docker-link]: https://hub.docker.com/r/maxulysse/compile-beamer
3629
[licence-badge]: https://img.shields.io/github/license/MaxUlysse/compile-beamer.svg
3730
[licence-link]: https://github.com/MaxUlysse/compile-beamer/blob/master/LICENSE
38-
[nextflow-badge]: https://img.shields.io/badge/nextflow-%E2%89%A50.25.0-brightgreen.svg
31+
[nextflow-badge]: https://img.shields.io/badge/nextflow-%E2%89%A50.25.3-brightgreen.svg
3932
[nextflow-link]: https://www.nextflow.io/
4033
[singularity-badge]: https://img.shields.io/badge/singularity_hub-automated-blue.svg
4134
[singularity-link]: https://singularity-hub.org/collections/170/

conf/singularity.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ singularity {
1111
enabled = true
1212
}
1313

14-
process.container = 'container/compile-beamer-1.5.img'
14+
process.container = 'shub://MaxUlysse/compile-beamer'

main.nf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ Maxime Garcia <[email protected]> [@MaxUlysse]
2525
================================================================================
2626
*/
2727

28-
if (!nextflow.version.matches('>= 0.25.0')) {exit 1, "Nextflow version 0.25.0 or greater is needed to run this workflow"}
28+
if (!nextflow.version.matches('>= 0.25.3')) exit 1, "Nextflow version 0.25.3 or greater is needed to run this workflow"
2929

30-
version = '1.5'
30+
version = '1.6'
3131

3232
switch (params) {
3333
case {params.help} :
@@ -39,7 +39,7 @@ switch (params) {
3939
exit 1
4040
}
4141

42-
if (!params.tex) {exit 1, 'No tex file, see --help for more information'}
42+
if (!params.tex) exit 1, 'No tex file, see --help for more information'
4343

4444
pictures = file(params.pictures)
4545
tex = file(params.tex)
@@ -92,7 +92,7 @@ def helpMessage() {
9292
// Display help message
9393
this.compileBeamerMessage()
9494
log.info " Usage:"
95-
log.info " nextflow run MaxUlysse/compile-beamer --tex <input.tex> --theme <BTB||KI||SciLifeLab>"
95+
log.info " nextflow run MaxUlysse/compile-beamer --tex <input.tex>"
9696
log.info " --tex"
9797
log.info " Compile the given tex file"
9898
log.info " --help"

nextflow.config

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ manifest {
1212
description = 'Compile Beamer'
1313
}
1414

15-
process.scratch = true
16-
1715
params {
1816
help = ''
19-
version = ''
20-
tex = 'sample.tex'
2117
pictures = 'pictures'
18+
tex = 'sample.tex'
19+
version = ''
2220
}
2321

22+
process.scratch = true
23+
process.shell = ['/bin/bash', '-euo', 'pipefail']
24+
2425
profiles {
2526
docker {includeConfig 'conf/docker.config'}
2627
singularity {includeConfig 'conf/singularity.config'}

scripts/test_docker.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
#!/bin/bash
2-
set -xeuo pipefail
3-
42
nextflow run . -profile docker

scripts/test_singularity.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11
#!/bin/bash
2-
3-
set -xeuo pipefail
4-
5-
singularity pull --name container/compile-beamer-1.5.img shub://MaxUlysse/compile-beamer
6-
7-
nextflow run . -profile singularity
2+
NXF_VER=0.25.5-SNAPSHOT nextflow run . -profile singularity

0 commit comments

Comments
 (0)