diff --git a/LICENSE.md b/LICENSE.md index 88616ef..b12438d 100755 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 - Vitor C. Piro - http://github.com/pirovc +Copyright (c) 2023 - Vitor C. Piro - http://github.com/pirovc All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/README.md b/README.md index 65e4476..6b177eb 100755 --- a/README.md +++ b/README.md @@ -199,10 +199,11 @@ or ## Parameters ``` + ┌─┐┌─┐┌┐┌┌─┐┌┬┐┌─┐ ┬ ┬┌─┐┌┬┐┌─┐┌┬┐┌─┐┬─┐ │ ┬├┤ ││││ ││││├┤ │ │├─┘ ││├─┤ │ ├┤ ├┬┘ └─┘└─┘┘└┘└─┘┴ ┴└─┘────└─┘┴ ─┴┘┴ ┴ ┴ └─┘┴└─ - v0.6.1 + v0.6.2 Database options: -d Database (comma-separated entries) diff --git a/genome_updater.sh b/genome_updater.sh index de4a7af..686aaa3 100755 --- a/genome_updater.sh +++ b/genome_updater.sh @@ -4,7 +4,7 @@ IFS=$' ' # The MIT License (MIT) -# Copyright (c) 2022 - Vitor C. Piro - pirovc.github.io +# Copyright (c) 2023 - Vitor C. Piro - pirovc.github.io # All rights reserved. # Permission is hereby granted, free of charge, to any person obtaining a copy @@ -25,7 +25,7 @@ IFS=$' ' # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -version="0.6.1" +version="0.6.2" # Define ncbi_base_url or use local files (for testing) local_dir=${local_dir:-} @@ -124,7 +124,7 @@ list_local_files() # parameter: ${1} prefix, ${2} 1 to list list all, "" list on if [[ ! -z "${2:-}" ]]; then param="" fi - find "${1}${files_dir}" ${depth} ${param} -type f,l -printf "%f\n" + find "${1}${files_dir}" ${depth} ${param} \( -type f -o -type l \) -printf "%f\n" } unpack() # parameter: ${1} file, ${2} output folder[, ${3} files to unpack]