Skip to content

Commit

Permalink
check if logging_enabled is specifically set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixAja committed Jan 18, 2024
1 parent 9871983 commit 28da7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/index-generation/index-generation.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ task CompressDatabase {

mkdir $SPLIT_APART_TAXID_DIR_NAME

if [ "~{logging_enabled}" ]; then
if [ "~{logging_enabled}" == "true" ]; then
ncbi-compress fasta-compress-from-taxid-dir ~{if database_type == "nr" then "--is-protein-fasta" else ""} \
--input-fasta-dir $READS_BY_TAXID_PATH \
--output-fasta ~{database_type}_compressed.fa \
Expand Down

0 comments on commit 28da7e4

Please sign in to comment.