From 8ea6a10ecca33f2770d54ea732b829b443b79e66 Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Sun, 4 Aug 2024 21:20:35 -0400 Subject: [PATCH] Cleanup main loop --- workflow/qhtcp-workflow | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/workflow/qhtcp-workflow b/workflow/qhtcp-workflow index a1aa1b81..a6561baf 100755 --- a/workflow/qhtcp-workflow +++ b/workflow/qhtcp-workflow @@ -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