Skip to content

Commit c2061f6

Browse files
committed
tests: switch remlldms setup to makegrmpart
1 parent 7ca92cd commit c2061f6

2 files changed

Lines changed: 16 additions & 43 deletions

File tree

modules/nf-core/gcta/remlldms/tests/helpers/makegrm/main.nf

Lines changed: 0 additions & 36 deletions
This file was deleted.

modules/nf-core/gcta/remlldms/tests/main.nf.test

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nextflow_process {
88
tag "modules_nfcore"
99
tag "gcta"
1010
tag "gcta/remlldms"
11-
tag "tests/helpers/makegrm"
11+
tag "gcta/makegrmpart"
1212
tag "gawk"
1313

1414
setup {
@@ -68,15 +68,24 @@ nextflow_process {
6868
}
6969
}
7070

71-
run("GCTA_MAKEGRM_HELPER", alias: "GCTA_MAKEGRM_LDMS1") {
72-
script "../tests/helpers/makegrm/main.nf"
71+
run("GCTA_MAKEGRMPART", alias: "GCTA_MAKEGRM_LDMS1") {
72+
script "../../makegrmpart/main.nf"
7373
process {
7474
"""
75+
file('plink_simulated.mbfile').text = 'plink_simulated\\n'
76+
7577
input[0] = [
76-
[ id:'plink_simulated_ldms1.part_1_1' ],
77-
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bed', checkIfExists: true),
78-
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bim', checkIfExists: true),
79-
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.fam', checkIfExists: true)
78+
[ id:'plink_simulated_ldms1', part_gcta_job:1, nparts_gcta:1 ],
79+
file('plink_simulated.mbfile'),
80+
[
81+
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bed', checkIfExists: true)
82+
],
83+
[
84+
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bim', checkIfExists: true)
85+
],
86+
[
87+
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.fam', checkIfExists: true)
88+
]
8089
]
8190
input[1] = [[ id:'all_variants' ], []]
8291
"""

0 commit comments

Comments
 (0)