Skip to content

Commit

Permalink
Merge pull request #5 from phac-nml/update-json
Browse files Browse the repository at this point in the history
Adds Program Outputs to Irida Next JSON Output File
  • Loading branch information
emarinier authored Dec 13, 2024
2 parents 484c1b6 + 6b3fa13 commit 8c43747
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/iridanext.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ iridanext {
"**/distances/profile_dists.results.text",
"**/distances/profile_dists.run.json",
"**/merged/locidex.merge.profile.tsv",
"**/process/results.tsv",
"**/process/results.xlsx"
]
}
}
Expand Down
12 changes: 12 additions & 0 deletions tests/pipelines/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ nextflow_pipeline {
assert iridanext_global.findAll { it.path == "distances/profile_dists.query_profile.text" }.size() == 1
assert iridanext_global.findAll { it.path == "distances/profile_dists.allele_map.json" }.size() == 1
assert iridanext_global.findAll { it.path == "merged/locidex.merge.profile.tsv" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.xlsx" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.tsv" }.size() == 1
assert iridanext_samples.isEmpty()
assert iridanext_metadata.isEmpty()
Expand Down Expand Up @@ -226,6 +228,8 @@ nextflow_pipeline {
assert iridanext_global.findAll { it.path == "distances/profile_dists.query_profile.text" }.size() == 1
assert iridanext_global.findAll { it.path == "distances/profile_dists.allele_map.json" }.size() == 1
assert iridanext_global.findAll { it.path == "merged/locidex.merge.profile.tsv" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.xlsx" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.tsv" }.size() == 1
assert iridanext_samples.isEmpty()
assert iridanext_metadata.isEmpty()
Expand Down Expand Up @@ -273,6 +277,8 @@ nextflow_pipeline {
assert iridanext_global.findAll { it.path == "distances/profile_dists.query_profile.text" }.size() == 1
assert iridanext_global.findAll { it.path == "distances/profile_dists.allele_map.json" }.size() == 1
assert iridanext_global.findAll { it.path == "merged/locidex.merge.profile.tsv" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.xlsx" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.tsv" }.size() == 1
assert iridanext_samples.isEmpty()
assert iridanext_metadata.isEmpty()
Expand Down Expand Up @@ -334,6 +340,8 @@ nextflow_pipeline {
assert iridanext_global.findAll { it.path == "distances/profile_dists.query_profile.text" }.size() == 1
assert iridanext_global.findAll { it.path == "distances/profile_dists.allele_map.json" }.size() == 1
assert iridanext_global.findAll { it.path == "merged/locidex.merge.profile.tsv" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.xlsx" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.tsv" }.size() == 1
assert iridanext_samples.isEmpty()
assert iridanext_metadata.isEmpty()
Expand Down Expand Up @@ -392,6 +400,8 @@ nextflow_pipeline {
assert iridanext_global.findAll { it.path == "distances/profile_dists.query_profile.text" }.size() == 1
assert iridanext_global.findAll { it.path == "distances/profile_dists.allele_map.json" }.size() == 1
assert iridanext_global.findAll { it.path == "merged/locidex.merge.profile.tsv" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.xlsx" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.tsv" }.size() == 1
assert iridanext_samples.isEmpty()
assert iridanext_metadata.isEmpty()
Expand Down Expand Up @@ -444,6 +454,8 @@ nextflow_pipeline {
assert iridanext_global.findAll { it.path == "distances/profile_dists.query_profile.text" }.size() == 1
assert iridanext_global.findAll { it.path == "distances/profile_dists.allele_map.json" }.size() == 1
assert iridanext_global.findAll { it.path == "merged/locidex.merge.profile.tsv" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.xlsx" }.size() == 1
assert iridanext_global.findAll { it.path == "process/results.tsv" }.size() == 1
assert iridanext_samples.isEmpty()
assert iridanext_metadata.isEmpty()
Expand Down

0 comments on commit 8c43747

Please sign in to comment.