Cleanup main loop

This commit is contained in:
2024-08-04 21:20:35 -04:00
parent 6a03b3fc7a
commit 8ea6a10ecc

View File

@@ -363,6 +363,9 @@ interactive_header() {
echo "Example: SCANS_DIR=/path/to/scans OUT_DIR=/path/to/out ./qhtcp-workflow $*"
echo ""
underline=$(tput smul)
nounderline=$(tput rmul)
# Ask to make our custom R library the default
if [[ -z $R_LIBS_USER || $R_LIBS_USER != "$HOME/R/$SCRIPT_NAME" ]]; then
echo "This script uses a local R library at $HOME/R/$SCRIPT_NAME"
@@ -381,7 +384,7 @@ interactive_header() {
fi
echo ""
echo "Available Modules:"
echo "${underline}Available Modules${nounderline}"
# Determine if we need two columns
if [[ ${#ALL_MODULES[@]} -gt 8 ]]; then
# Calculate the number of elements in each column
@@ -521,7 +524,6 @@ interactive_header() {
done
fi
fi
echo ""
# Let user choose or add project(s)
if [[ ${#PROJECTS[@]} -eq 0 ]]; then