Skip to content

Commit 363708f

Browse files
committed
Fix gcta/addgrms test setup names
1 parent c3226e0 commit 363708f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ nextflow_process {
1717
"""
1818
file('plink_simulated_ldms1.mbfile').text = 'plink_simulated\\n'
1919

20-
def bimFile = file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bim', checkIfExists: true)
21-
def extractSnps = bimFile.readLines()
20+
def ldms1BimFile = file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bim', checkIfExists: true)
21+
def ldms1ExtractSnps = ldms1BimFile.readLines()
2222
.take(10)
2323
.collect { row -> row.trim().split(/\\s+/)[1] }
2424
.join('\\n') + '\\n'
25-
file('plink_simulated_ldms1.snps.txt').text = extractSnps
25+
file('plink_simulated_ldms1.snps.txt').text = ldms1ExtractSnps
2626

2727
input[0] = [
2828
[ id:'plink_simulated_ldms1' ],
@@ -33,7 +33,7 @@ nextflow_process {
3333
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bed', checkIfExists: true)
3434
],
3535
[
36-
bimFile
36+
ldms1BimFile
3737
],
3838
[
3939
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.fam', checkIfExists: true)
@@ -50,13 +50,13 @@ nextflow_process {
5050
"""
5151
file('plink_simulated_ldms2.mbfile').text = 'plink_simulated\\n'
5252

53-
def bimFile = file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bim', checkIfExists: true)
54-
def extractSnps = bimFile.readLines()
53+
def ldms2BimFile = file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bim', checkIfExists: true)
54+
def ldms2ExtractSnps = ldms2BimFile.readLines()
5555
.drop(10)
5656
.take(10)
5757
.collect { row -> row.trim().split(/\\s+/)[1] }
5858
.join('\\n') + '\\n'
59-
file('plink_simulated_ldms2.snps.txt').text = extractSnps
59+
file('plink_simulated_ldms2.snps.txt').text = ldms2ExtractSnps
6060

6161
input[0] = [
6262
[ id:'plink_simulated_ldms2' ],
@@ -67,7 +67,7 @@ nextflow_process {
6767
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.bed', checkIfExists: true)
6868
],
6969
[
70-
bimFile
70+
ldms2BimFile
7171
],
7272
[
7373
file(params.modules_testdata_base_path + 'genomics/homo_sapiens/popgen/plink_simulated.fam', checkIfExists: true)

0 commit comments

Comments
 (0)