-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pangolin - use seqera containers + nf-test; rm pytests (#6740)
* use seqera containers + nf-test; rm pytests * Update modules/nf-core/pangolin/main.nf Co-authored-by: Joon Klaps <[email protected]> * update snapshots * fix home path sing & update conda env * Fixing the meta.yml and pining pangolin-data --------- Co-authored-by: Joon Klaps <[email protected]>
- Loading branch information
1 parent
a591752
commit 9530ba6
Showing
9 changed files
with
136 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
nextflow_process { | ||
|
||
name "Test Process PANGOLIN" | ||
script "../main.nf" | ||
process "PANGOLIN" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "pangolin" | ||
|
||
test("sarscov2 genome [fasta]") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ | ||
[ id:'test' ], // meta map | ||
[ file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true) ] | ||
] | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
) | ||
} | ||
|
||
} | ||
|
||
test("sarscov2 genome [fasta] - stub") { | ||
|
||
options "-stub" | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ | ||
[ id:'test' ], // meta map | ||
[ file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true) ] | ||
] | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
) | ||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"sarscov2 genome [fasta] - stub": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
[ | ||
{ | ||
"id": "test" | ||
}, | ||
"test.pangolin.csv:md5,2cc701567cf37bad5c6574c29aa595d4" | ||
] | ||
], | ||
"1": [ | ||
"versions.yml:md5,65ec45a19faa92a922073b9b08d90a8a" | ||
], | ||
"report": [ | ||
[ | ||
{ | ||
"id": "test" | ||
}, | ||
"test.pangolin.csv:md5,2cc701567cf37bad5c6574c29aa595d4" | ||
] | ||
], | ||
"versions": [ | ||
"versions.yml:md5,65ec45a19faa92a922073b9b08d90a8a" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "24.04.4" | ||
}, | ||
"timestamp": "2024-10-18T10:33:48.797026222" | ||
}, | ||
"sarscov2 genome [fasta]": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
[ | ||
{ | ||
"id": "test" | ||
}, | ||
"test.pangolin.csv:md5,2cc701567cf37bad5c6574c29aa595d4" | ||
] | ||
], | ||
"1": [ | ||
"versions.yml:md5,65ec45a19faa92a922073b9b08d90a8a" | ||
], | ||
"report": [ | ||
[ | ||
{ | ||
"id": "test" | ||
}, | ||
"test.pangolin.csv:md5,2cc701567cf37bad5c6574c29aa595d4" | ||
] | ||
], | ||
"versions": [ | ||
"versions.yml:md5,65ec45a19faa92a922073b9b08d90a8a" | ||
] | ||
} | ||
], | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "24.04.4" | ||
}, | ||
"timestamp": "2024-10-18T10:33:17.535254436" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.