Skip to content

Commit fdd9e07

Browse files
swapping to use the newer module args setup
1 parent 9b87939 commit fdd9e07

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

modules/nf-core/sparsesignatures/tests/main.nf.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ nextflow_process {
1313
config "./nextflow.config"
1414

1515
when {
16+
17+
params {
18+
module_args = '[genome:GRCh38, K:2:3, nmf_runs:3, iterations:5, max_iterations_lasso:80, cross_validation_repetitions:3, cross_validation_iterations:3, cross_validation_entries:0.01, lambda_values_alpha:c(0.00, 0.01), lambda_values_beta:c(0.01, 0.05), lambda_rate_alpha:0, num_processes:all, seed:42]'
19+
}
20+
1621
process {
1722
"""
1823
input[0] = [

modules/nf-core/sparsesignatures/tests/nextflow.config

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,7 @@
66

77
process {
88
withName: SPARSE_SIGNATURES {
9-
ext.args = [
10-
genome : "GRCh38",
11-
K : "2:3",
12-
nmf_runs : "3",
13-
iterations: "5",
14-
max_iterations_lasso : "80",
15-
cross_validation_repetitions : "3",
16-
cross_validation_iterations : "3",
17-
cross_validation_entries : "0.01",
18-
lambda_values_alpha : "c(0.00, 0.01)",
19-
lambda_values_beta : "c(0.01, 0.05)",
20-
lambda_rate_alpha: "0",
21-
num_processes : "all",
22-
seed: "42"
23-
24-
]
9+
ext.args = params.module_args
2510
}
2611
}
2712

0 commit comments

Comments
 (0)