Cleanup main loop

This commit is contained in:
2024-08-04 21:04:22 -04:00
parent cf58bbdcf2
commit 67099f1328
2 changed files with 97 additions and 16 deletions

View File

@@ -738,10 +738,11 @@ module init_project
#
# TODO
#
# * Copy over source image directories from robot - are these alse named by the ExpJobs name?
# * Suggest renaming ExpJobs to something like "scans" or "images"
# * MasterPlate_ file **should not** be an xlsx file, no portability
#
# * Copy over source image directories from robot
# * MasterPlate_ file **should not be an xlsx file**, no portability
# * We can keep the existing xlsx code for old style fallback
# * But moving forward should switch to csv or something open
#
# NOTES
#
# * Copy over the images from the robot and then DO NOT TOUCH that directory except to copy from it
@@ -1026,10 +1027,6 @@ module easy
#
#
#
#
#
3
#
# To analyze a new Q-HTCP experiment:
#
# * Open the EASY Software.
@@ -2266,12 +2263,19 @@ main() {
done
done
cat <<-EOF
Successfully ran module(s): ${MODULES[*]}
And submodule(s): ${SUBMODULES[*]}
On project(s): ${PROJECTS[*]}
EOF
unset PROJECTS MODULE SUBMODULES EXCLUDE_MODULES
}
# (Safe) main loop
for ((i=1; i<2; i++)); do
main "$@" && i=0 # on successful run, reset the counter
main "$@" &&
i=0
done
exit $?