if [[ -n "$PS1" && -n "$HPC" && -z "$INTERACTIVE_QUEUE" ]]; then
    echo ""
    echo "==== seqcloud ============================================================="
    # bcbio
    if [[ ! -z $BCBIO_DIR ]]; then
        echo "# bcbio"
        echo $BCBIO_DIR
    fi
    # Conda
    if [[ ! -z $CONDA_DIR ]]; then
        echo "# conda"
        echo $CONDA_DIR
    fi
    echo "==========================================================================="
fi

# Alternate methods:
# https://www.gnu.org/software/bash/manual/html_node/Is-this-Shell-Interactive_003f.html
# case "$-" in
# *i*)	echo This shell is interactive ;;
# *)	echo This shell is not interactive ;;
# esac
#
# if [[ -z "$PS1" ]]; then
#         echo This shell is not interactive
# else
#         echo This shell is interactive
# fi

if [[ -n "$PS1" && -n "$HPC" && -z "$INTERACTIVE_QUEUE" ]]; then
    echo ""
    echo "==== seqcloud ============================================================="
    # bcbio
    if [[ -d $BCBIO_DIR ]]; then
        echo "# bcbio"
        echo $BCBIO_DIR
    fi
    # Conda
    if [[ -d $CONDA_DIR ]]; then
        echo "# conda"
        echo $CONDA_DIR
    fi
    echo "==========================================================================="
fi

# Alternate methods:
# https://www.gnu.org/software/bash/manual/html_node/Is-this-Shell-Interactive_003f.html
# case "$-" in
# *i*)	echo This shell is interactive ;;
# *)	echo This shell is not interactive ;;
# esac
#
# if [[ -z "$PS1" ]]; then
#         echo This shell is not interactive
# else
#         echo This shell is interactive
# fi

Improve login message if bcbio is disabled
Improve login message if bcbio is disabled
