Skip to content

Commit 95f1667

Browse files
authored
Merge pull request #69 from seqeralabs/fix_cli_args_parsing
Fix parsing of extra args to tw CLI
2 parents 7f7f400 + e787276 commit 95f1667

File tree

4 files changed

+25
-20
lines changed

4 files changed

+25
-20
lines changed

CHANGELOG.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,27 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6-
## [[0.5.0](https://github.com/seqeralabs/nf-aggregate/releases/tag/0.5.0)] - 2024-10-24
6+
## [[0.5.0](https://github.com/seqeralabs/nf-aggregate/releases/tag/0.5.0)] - 2024-11-12
77

88
### Credits
99

1010
Special thanks to the following for their contributions to the release:
1111

1212
- [Adam Talbot](https://github.com/adamrtalbot)
13+
- [Esha Joshi](https://github.com/ejseqera)
14+
- [Jonathan Manning](https://github.com/pinin4fjords)
15+
- [Maxime Garcia](https://github.com/maxulysse)
1316
- [Rob Syme](https://github.com/robsyme)
1417

1518
Thank you to everyone else that has contributed by reporting bugs, enhancements or in any other way, shape or form.
1619

1720
### Enhancements & fixes
1821

19-
[PR #61](https://github.com/seqeralabs/nf-aggregate/pull/61) - Remove dependency on external library/grape
20-
[PR #63](https://github.com/seqeralabs/nf-aggregate/pull/63) - Add `maxForks` setting for Seqera CLI to overcome API issues
21-
[PR #65](https://github.com/seqeralabs/nf-aggregate/pull/65) - Replace eclint GHA by pre-commit
22+
- [PR #61](https://github.com/seqeralabs/nf-aggregate/pull/61) - Remove dependency on external library/grape
23+
- [PR #63](https://github.com/seqeralabs/nf-aggregate/pull/63) - Add `maxForks` setting for Seqera CLI to overcome API issues
24+
- [PR #65](https://github.com/seqeralabs/nf-aggregate/pull/65) - Replace eclint GHA by pre-commit
25+
- [PR #67](https://github.com/seqeralabs/nf-aggregate/pull/67) - Update tests to use a non-fusion run from Seqera Cloud community/showcase
26+
- [PR #69](https://github.com/seqeralabs/nf-aggregate/pull/69) - Fix parsing of extra args to tw CLI
2227

2328
## [[0.4.0](https://github.com/seqeralabs/nf-aggregate/releases/tag/0.4.0)] - 2024-07-26
2429

@@ -32,9 +37,9 @@ Thank you to everyone else that has contributed by reporting bugs, enhancements
3237

3338
### Enhancements & fixes
3439

35-
[PR #52](https://github.com/seqeralabs/nf-aggregate/pull/52) - Organise results folder structure by pipeline
36-
[PR #53](https://github.com/seqeralabs/nf-aggregate/pull/53) - Throw exception and terminate workflow in case config can't be read
37-
[PR #57](https://github.com/seqeralabs/nf-aggregate/pull/57) - Check if fusion is enabled via the Platform API
40+
- [PR #52](https://github.com/seqeralabs/nf-aggregate/pull/52) - Organise results folder structure by pipeline
41+
- [PR #53](https://github.com/seqeralabs/nf-aggregate/pull/53) - Throw exception and terminate workflow in case config can't be read
42+
- [PR #57](https://github.com/seqeralabs/nf-aggregate/pull/57) - Check if fusion is enabled via the Platform API
3843

3944
## [[0.3.0](https://github.com/seqeralabs/nf-aggregate/releases/tag/0.3.0)] - 2024-07-01
4045

modules/local/seqera_runs_dump/nextflow.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
process {
22
withName: 'SEQERA_RUNS_DUMP' {
33
maxForks = 5
4-
ext.args = { params.seqera_cli_extra_args ? params.seqera_cli_extra_args.split("\\s(?=--)") : '' }
4+
ext.args = { params.seqera_cli_extra_args ? params.seqera_cli_extra_args.split(/[\s,]+(?=--)/).join(' ') : '' }
55
ext.args2 = { params.skip_run_gantt ? '' : '--add-task-logs' }
66
containerOptions = { params.java_truststore_path ? "--volume ${params.java_truststore_path}:${params.java_truststore_path}" : '' }
77
publishDir = [

modules/local/seqera_runs_dump/tests/main.nf.test.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Should run without failures": {
33
"content": [
44
[
5-
"service-info.json:md5,6988ae3ef3c822007075726ecc73ba9c",
5+
"service-info.json:md5,75a5b8cded8f0ce9aab2125c0ee89f63",
66
"workflow-load.json:md5,4f02d5a24ab89aa648cd4346785c8f2c",
77
"workflow-metadata.json:md5,b37b4faeddf283a2c44cbe4000e4ab6e",
88
"workflow-metrics.json:md5,13a5b5d7447fad4a8baa053d1abf85e5",
@@ -12,9 +12,9 @@
1212
null
1313
],
1414
"meta": {
15-
"nf-test": "0.8.4",
16-
"nextflow": "24.04.2"
15+
"nf-test": "0.9.2",
16+
"nextflow": "23.10.1"
1717
},
18-
"timestamp": "2024-07-25T10:21:06.447483"
18+
"timestamp": "2024-11-11T11:53:03.835699"
1919
}
20-
}
20+
}

subworkflows/local/utils_nf_aggregate/tests/main.nf.test.snap

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
"Should run without failures": {
33
"content": [
44
[
5-
{
6-
"id": "1oXDHFHywk3wR2",
7-
"workspace": "scidev/testing"
8-
},
95
{
106
"id": "2lXd1j7OwZVfxh",
117
"workspace": "community/showcase"
@@ -14,6 +10,10 @@
1410
"id": "38QXz4OfQDpwOV",
1511
"workspace": "community/showcase"
1612
},
13+
{
14+
"id": "3iFMo0NtH1Byvy",
15+
"workspace": "community/showcase"
16+
},
1717
{
1818
"id": "4Bi5xBK6E2Nbhj",
1919
"workspace": "community/showcase"
@@ -25,9 +25,9 @@
2525
]
2626
],
2727
"meta": {
28-
"nf-test": "0.8.4",
29-
"nextflow": "23.10.1"
28+
"nf-test": "0.9.2",
29+
"nextflow": "24.04.2"
3030
},
31-
"timestamp": "2024-05-07T10:41:28.603749237"
31+
"timestamp": "2024-11-11T11:32:52.476285"
3232
}
3333
}

0 commit comments

Comments
 (0)