Skip to content

Commit

Permalink
Removed errors concerning test data and emit on multiple channels
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixAntoineLeSieur committed Jul 4, 2024
1 parent cb472b7 commit 0f31f28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ params {
// Input data
// TODO nf-core: Specify the paths to your test data on nf-core/test-datasets
// TODO nf-core: Give any required params for the test so that command line flags are not needed
input = params.pipelines_testdata_base_path + 'viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv'
//input = params.pipelines_testdata_base_path + 'viralrecon/samplesheet/samplesheet_test_illumina_amplicon.csv'

// Genome references
genome = 'R64-1-1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ workflow PIPELINE_INITIALISATION {
meta: tuple(it.familyId, [size: it.size, sequencingType: it.sequencingType])
files: tuple(it.familyId, file("${it.file}*"))
}
.set { sampleFile }
.set { sampleChannel}
emit:
samplesheet = sampleFile
sampleFiles = sampleChannel.files
sampleMeta = sampleChannel.meta
versions = ch_versions

sampleFile.meta | view{"Meta: $it"}
sampleFile.files | view{"files: $it"}
sampleMeta | view{"Meta: $it"}
sampleFiles | view{"files: $it"}
//
// Create channel from input file provided through params.input
//
Expand Down

0 comments on commit 0f31f28

Please sign in to comment.