Skip to content

Commit 4db775f

Browse files
committed
Fix versions
1 parent 55a5f8e commit 4db775f

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

modules/nf-core/paraphrase/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ process PARAPHRASE {
1616
tuple val(meta), path("*.json"), emit: json, optional: true
1717
tuple val(meta), path("*.tsv"), emit: tsv, optional: true
1818

19-
tuple val("${task.process}"), val('paraphrase'), eval("paraphrase --version"), topic: versions, emit: versions_paraphrase
19+
tuple val("${task.process}"), val('paraphrase'), eval("paraphrase --version | sed 's/.* //'"), topic: versions, emit: versions_paraphrase
2020

2121
when:
2222
task.ext.when == null || task.ext.when

modules/nf-core/paraphrase/meta.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ output:
6767
- paraphrase:
6868
type: string
6969
description: The name of the tool
70-
- paraphrase --version:
70+
- paraphrase --version | sed 's/.* //':
7171
type: eval
7272
description: The expression to obtain the version of the tool
7373
topics:
@@ -78,7 +78,7 @@ topics:
7878
- paraphrase:
7979
type: string
8080
description: The name of the tool
81-
- paraphrase --version:
81+
- paraphrase --version | sed 's/.* //':
8282
type: eval
8383
description: The expression to obtain the version of the tool
8484
authors:

modules/nf-core/paraphrase/tests/main.nf.test.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
[
1919
"PARAPHRASE",
2020
"paraphrase",
21-
"paraphrase 0.2.0"
21+
"0.2.0"
2222
]
2323
]
2424
}
2525
],
26-
"timestamp": "2026-02-27T13:28:34.178964653",
26+
"timestamp": "2026-02-27T13:40:26.241158374",
2727
"meta": {
2828
"nf-test": "0.9.4:md5,3b1b0b457e32f7b2c51c0cf5658dd1cf",
2929
"nextflow": "26.01.1"
@@ -48,12 +48,12 @@
4848
[
4949
"PARAPHRASE",
5050
"paraphrase",
51-
"paraphrase 0.2.0"
51+
"0.2.0"
5252
]
5353
]
5454
}
5555
],
56-
"timestamp": "2026-02-27T13:28:22.923218917",
56+
"timestamp": "2026-02-27T13:40:14.980861669",
5757
"meta": {
5858
"nf-test": "0.9.4:md5,3b1b0b457e32f7b2c51c0cf5658dd1cf",
5959
"nextflow": "26.01.1"
@@ -78,12 +78,12 @@
7878
[
7979
"PARAPHRASE",
8080
"paraphrase",
81-
"paraphrase 0.2.0"
81+
"0.2.0"
8282
]
8383
]
8484
}
8585
],
86-
"timestamp": "2026-02-27T13:28:52.544137295",
86+
"timestamp": "2026-02-27T13:40:44.559269452",
8787
"meta": {
8888
"nf-test": "0.9.4:md5,3b1b0b457e32f7b2c51c0cf5658dd1cf",
8989
"nextflow": "26.01.1"
@@ -108,12 +108,12 @@
108108
[
109109
"PARAPHRASE",
110110
"paraphrase",
111-
"paraphrase 0.2.0"
111+
"0.2.0"
112112
]
113113
]
114114
}
115115
],
116-
"timestamp": "2026-02-27T13:29:06.479213928",
116+
"timestamp": "2026-02-27T13:40:58.558739068",
117117
"meta": {
118118
"nf-test": "0.9.4:md5,3b1b0b457e32f7b2c51c0cf5658dd1cf",
119119
"nextflow": "26.01.1"
@@ -138,12 +138,12 @@
138138
[
139139
"PARAPHRASE",
140140
"paraphrase",
141-
"paraphrase 0.2.0"
141+
"0.2.0"
142142
]
143143
]
144144
}
145145
],
146-
"timestamp": "2026-02-27T13:28:59.506106995",
146+
"timestamp": "2026-02-27T13:40:51.544118803",
147147
"meta": {
148148
"nf-test": "0.9.4:md5,3b1b0b457e32f7b2c51c0cf5658dd1cf",
149149
"nextflow": "26.01.1"
@@ -168,12 +168,12 @@
168168
[
169169
"PARAPHRASE",
170170
"paraphrase",
171-
"paraphrase 0.2.0"
171+
"0.2.0"
172172
]
173173
]
174174
}
175175
],
176-
"timestamp": "2026-02-27T13:28:45.395866251",
176+
"timestamp": "2026-02-27T13:40:37.597570496",
177177
"meta": {
178178
"nf-test": "0.9.4:md5,3b1b0b457e32f7b2c51c0cf5658dd1cf",
179179
"nextflow": "26.01.1"

0 commit comments

Comments
 (0)