Skip to content

Commit

Permalink
fix: Add a -n
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Jul 10, 2024
1 parent b1ff178 commit 2d7d222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nf-core/sentieon/bwamem/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ process SENTIEON_BWAMEM {
def prefix = task.ext.prefix ?: "${meta.id}"

"""
if [ "\${SENTIEON_LICENSE_BASE64}" ]; then
if [ -n "\${SENTIEON_LICENSE_BASE64}" ]; then
# NOTE: This is how pipeline users will test out Sentieon
echo "Localhost license file"
# The license file is stored as a nextflow variable like, for instance, this:
Expand Down

0 comments on commit 2d7d222

Please sign in to comment.