mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 03:39:55 +00:00
Apply suggestions from code review
This commit is contained in:
parent
bb7323e25d
commit
5e400c8c89
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ def validate_db_rows(LinkedHashMap row) {
|
|||
|
||||
// all columns there
|
||||
def expected_headers = ['tool', 'db_name', 'db_params', 'db_path']
|
||||
if ( !row.keySet().containsAll(expected_headers) ) exit 1, "[nf-core/taxprofiler] ERROR: Invalid database input sheet - malformed column names. Please check input TSV. Column names should be: ${expected_keys.join(", ")}"
|
||||
if ( !row.keySet().containsAll(expected_headers) ) exit 1, "[nf-core/taxprofiler] ERROR: Invalid database input sheet - malformed column names. Please check input TSV. Column names should be: ${expected_headers.join(", ")}"
|
||||
|
||||
// valid tools specified
|
||||
def expected_tools = [ "bracken", "centrifuge", "diamond", "kaiju", "kraken2", "krakenuniq", "malt", "metaphlan3", "motus" ]
|
||||
|
|
Loading…
Reference in a new issue