Skip to content

Commit

Permalink
Fix database already downloaded check
Browse files Browse the repository at this point in the history
  • Loading branch information
TigerWindWood authored and milot-mirdita committed May 8, 2024
1 parent d56c140 commit fa6c530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/structdatabases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ case "${SELECTION}" in
INPUT_TYPE="FOLDSEEK_DB"
;;
"Alphafold/Proteome")
if notExists "${TMP_PATH}/alphafolddb.tar.gz"; then
if notExists "${TMP_PATH}/afdb_proteome.tar.gz"; then
downloadFile "https://foldseek.steineggerlab.workers.dev/afdb_proteome.tar.gz" "${TMP_PATH}/afdb_proteome.tar.gz"
downloadFile "https://foldseek.steineggerlab.workers.dev/afdb_proteome.version" "${TMP_PATH}/version"
fi
Expand All @@ -127,7 +127,7 @@ case "${SELECTION}" in
INPUT_TYPE="FOLDSEEK_DB"
;;
"Alphafold/Swiss-Prot")
if notExists "${TMP_PATH}/alphafold_swissprot.tar.gz"; then
if notExists "${TMP_PATH}/afdb_swissprot.tar.gz"; then
downloadFile "https://foldseek.steineggerlab.workers.dev/afdb_swissprot.tar.gz" "${TMP_PATH}/afdb_swissprot.tar.gz"
downloadFile "https://foldseek.steineggerlab.workers.dev/afdb_swissprot.version" "${TMP_PATH}/version"
fi
Expand Down

0 comments on commit fa6c530

Please sign in to comment.