You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PullAndProcessGsAnalysisData.sh script will skip all other batches if a single batch is incomplete and lacks a "${TMP_ROOT_DIR}/${gsBatch}/${gsBatch}.finished" file to signal that the upload / data transfer was complete.
This is caused by a 2 break statements in this block of code
###### process Analysis data###
readarray -t gsBatches<<(rsync -f"+ */" -f"- *""${TMP_ROOT_DIR}/"| awk '{if ($5 != "" && $5 != "." && $5 ~/-/){print $5}}')if [[ "${#gsBatches[@]}"-eq'0' ]]
then
log4Bash 'WARN'"${LINENO}""${FUNCNAME:-main}"'0'"No batches found at ${TMP_ROOT_DIR}/"elseforgsBatchin"${gsBatches[@]}"do
......
done
Should probably be changed into continue statements to skip the incomplete batch and continue with the next item in the for loop instead of exiting the for loop.
The text was updated successfully, but these errors were encountered:
The PullAndProcessGsAnalysisData.sh script will skip all other batches if a single batch is incomplete and lacks a
"${TMP_ROOT_DIR}/${gsBatch}/${gsBatch}.finished"
file to signal that the upload / data transfer was complete.This is caused by a 2
break
statements in this block of codeShould probably be changed into
continue
statements to skip the incomplete batch and continue with the next item in the for loop instead of exiting the for loop.The text was updated successfully, but these errors were encountered: