Skip to content
Permalink
Browse files

Fix shellcheck issues

  • Loading branch information...
milot-mirdita committed Aug 2, 2019
1 parent a309444 commit f6941401cdea7c36e9c5fbc9c69cfbf97cafbdd9
Showing with 7 additions and 7 deletions.
  1. +3 −3 data/assembler.sh
  2. +2 −2 data/hybridassembler.sh
  3. +2 −2 data/nuclassembler.sh
@@ -6,7 +6,7 @@ fail() {
}

deleteIncremental() {
if [ -n "$REMOVE_INCREMENTAL_TMP" ] && [ ! -z "$1" ]; then
if [ -n "$REMOVE_INCREMENTAL_TMP" ] && [ -n "$1" ]; then
"$MMSEQS" rmdb "$1"
fi
}
@@ -16,8 +16,8 @@ notExists() {
}

# check input variables
[ ! -n "${OUT_FILE}" ] && echo "Please provide OUT_FILE" && exit 1
[ ! -n "${TMP_PATH}" ] && echo "Please provide TMP_PATH" && exit 1
[ -z "${OUT_FILE}" ] && echo "Please provide OUT_FILE" && exit 1
[ -z "${TMP_PATH}" ] && echo "Please provide TMP_PATH" && exit 1

# check if files exists
[ -f "${OUT_FILE}" ] && echo "${OUT_FILE} exists already!" && exit 1
@@ -12,8 +12,8 @@ notExists() {


# check input variables
[ ! -n "${OUT_FILE}" ] && echo "Please provide OUT_FILE" && exit 1
[ ! -n "${TMP_PATH}" ] && echo "Please provide TMP_PATH" && exit 1
[ -z "${OUT_FILE}" ] && echo "Please provide OUT_FILE" && exit 1
[ -z "${TMP_PATH}" ] && echo "Please provide TMP_PATH" && exit 1

# check if files exists
[ -f "${OUT_FILE}" ] && echo "${OUT_FILE} exists already!" && exit 1
@@ -11,8 +11,8 @@ notExists() {
}

# check input variables
[ ! -n "${OUT_FILE}" ] && echo "Please provide OUT_FILE" && exit 1
[ ! -n "${TMP_PATH}" ] && echo "Please provide TMP_PATH" && exit 1
[ -z "${OUT_FILE}" ] && echo "Please provide OUT_FILE" && exit 1
[ -z "${TMP_PATH}" ] && echo "Please provide TMP_PATH" && exit 1

# check if files exists
[ -f "${OUT_FILE}" ] && echo "${OUT_FILE} exists already!" && exit 1

0 comments on commit f694140

Please sign in to comment.
You can’t perform that action at this time.