Improve get_studies

This commit is contained in:
2024-08-04 19:34:42 -04:00
parent d6ff83e20b
commit 2586984a62

View File

@@ -532,7 +532,7 @@ interactive_header() {
else else
for ((c=1; c<2; c++)); do # safe loop that only runs once for ((c=1; c<2; c++)); do # safe loop that only runs once
echo "Enter a comma-separated list of project numbers to analyze" echo "Enter a comma-separated list of project numbers to analyze"
((YES)) || read -r -p "Enter 0 to add a new project or hit Enter for default project ($num): " response ((YES)) || read -r -p "Or enter 0 to add a new project or hit Enter for default project # ($num): " response
if [[ $response == 0 ]]; then if [[ $response == 0 ]]; then
ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}") ask_pn && PROJECTS+=("${ADD_PROJECTS[@]}")
else else
@@ -1956,7 +1956,7 @@ get_studies() {
Current StudyInfo file ($1) contents: Current StudyInfo file ($1) contents:
$(cat "$S1") $(cat "$1")
EOF EOF
# Allow user to add/edit the study info file # Allow user to add/edit the study info file