Skip to content

Commit

Permalink
don't do extra checks in samplesheet if params.build_only_index is true
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Jul 12, 2023
1 parent acfaacb commit c18ea12
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions workflows/sarek.nf
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,7 @@ ch_from_samplesheet
}
}.set { input_sample }

input_sample.view()

if (params.step != 'annotate' && params.tools) {
if (params.step != 'annotate' && params.tools && !params.build_only_index) {
// Two checks for ensuring that the pipeline stops with a meaningful error message if
// 1. the sample-sheet only contains normal-samples, but some of the requested tools require tumor-samples, and
// 2. the sample-sheet only contains tumor-samples, but some of the requested tools require normal-samples.
Expand Down

0 comments on commit c18ea12

Please sign in to comment.