Skip to content

Commit

Permalink
Squashed 'lib/mmseqs/' changes from 457cacabd5..bad16c765a
Browse files Browse the repository at this point in the history
bad16c765a Check correctly for existing of binary tax dump in createtaxdb

git-subtree-dir: lib/mmseqs
git-subtree-split: bad16c765aac60d84a8fde3548adbb06b34980bd
  • Loading branch information
milot-mirdita committed Dec 14, 2020
1 parent 91c4524 commit 34934fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/workflow/createtaxdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ downloadFile() {
fail "Could not download $URL to $OUTPUT"
}

if notExists "${TAXDBNAME}_names.dmp" || notExists "${TAXDBNAME}_nodes.dmp" || notExists "${TAXDBNAME}_merged.dmp"; then
if { [ "${DBMODE}" = "1" ] && notExists "${TAXDBNAME}_taxonomy"; } || { [ "${DBMODE}" = "0" ] && { notExists "${TAXDBNAME}_names.dmp" || notExists "${TAXDBNAME}_nodes.dmp" || notExists "${TAXDBNAME}_merged.dmp"; }; }; then
if [ "$DOWNLOAD_NCBITAXDUMP" -eq "1" ]; then
# Download NCBI taxon information
if notExists "${TMP_PATH}/ncbi_download.complete"; then
Expand Down

0 comments on commit 34934fa

Please sign in to comment.