Prompt next sample code after each i1Pro reading
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -99,7 +99,7 @@ check_dependencies() {
|
||||
fi
|
||||
echo " spotread: $(command -v spotread)"
|
||||
|
||||
for helper in tsv-to-csv.py average-results.py; do
|
||||
for helper in tsv-to-csv.py average-results.py prompt-next-sample.py; do
|
||||
[[ -f "$helper" ]] || fail "Missing helper script: $helper"
|
||||
done
|
||||
|
||||
@@ -149,6 +149,7 @@ scan_samples() {
|
||||
echo " spotread will start now:"
|
||||
echo " - First calibrate: place the i1Pro 2 on its white tile and follow the prompt"
|
||||
echo " - Then take one reading per sample (press the instrument button)"
|
||||
echo " - The next sample code is printed in the terminal after each reading"
|
||||
echo " - After all $count readings, press Q to finish"
|
||||
echo ""
|
||||
read -r -p " Press Enter to start... "
|
||||
@@ -163,7 +164,7 @@ scan_samples() {
|
||||
spotread_args=(-I "$MODE" "${spotread_args[@]}")
|
||||
fi
|
||||
|
||||
spotread "${spotread_args[@]}"
|
||||
python3 prompt-next-sample.py -s "$SAMPLES_FILE" -- spotread "${spotread_args[@]}"
|
||||
|
||||
[[ -f "$TSV" ]] || fail "No readings were saved ($TSV missing)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user