From fa6c53089d13b8bb1e61e6b12ecc83882162ce9b Mon Sep 17 00:00:00 2001 From: TigerWindWood <59970244+TigerWindWood@users.noreply.github.com> Date: Tue, 19 Mar 2024 14:19:28 +0800 Subject: [PATCH] Fix database already downloaded check --- data/structdatabases.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/structdatabases.sh b/data/structdatabases.sh index 855678d1..dacb3045 100644 --- a/data/structdatabases.sh +++ b/data/structdatabases.sh @@ -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 @@ -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