From 868e61d64fb489797e1a537e85829149def650b8 Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Sun, 4 Aug 2024 22:12:31 -0400 Subject: [PATCH] Improve Study Info formatting --- workflow/qhtcp-workflow | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/workflow/qhtcp-workflow b/workflow/qhtcp-workflow index 218a47fa..99a9c61d 100755 --- a/workflow/qhtcp-workflow +++ b/workflow/qhtcp-workflow @@ -1973,6 +1973,8 @@ get_studies() { next_study_entry="$empty_study,$PROJECT_SUFFIX,NA,NA,$INITIALS" + echo "${underline}Study Info${nounderline}" + if [[ ! -f $1 ]]; then echo "Creating default $1" echo "ExpNumb,ExpLabel,BackgroundSD,ZscoreJoinSD,AnalysisBy" > "$1" @@ -1985,11 +1987,12 @@ get_studies() { Give each experiment labels to be used for the plots and specific files. Enter the desired Experiment names and order them in the way you want them to appear in the REMc heatmaps - Current study info file ($1) contents: + Current study info file: + ${underline}$1${nounderline} $(cat "$1") + EOF - echo "" # Allow user to add/edit the study info file if ! ((YES)); then