Prompt next sample code after each i1Pro reading
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -60,7 +60,8 @@ echo " 1. Calibrate on the white tile when prompted"
|
||||
echo " 2. Place i1Pro on each sample and press the button"
|
||||
if [[ "$SAMPLE_COUNT" -gt 0 ]]; then
|
||||
echo " 3. Take exactly $SAMPLE_COUNT readings, in samples.txt order"
|
||||
echo " 4. Press Q to quit when all readings are done"
|
||||
echo " 4. The next sample code is printed in the terminal after each reading"
|
||||
echo " 5. Press Q to quit when all readings are done"
|
||||
else
|
||||
echo " 3. Press Q to quit when done"
|
||||
fi
|
||||
@@ -68,7 +69,11 @@ echo ""
|
||||
echo "Starting spotread..."
|
||||
echo ""
|
||||
|
||||
spotread "${SPOTREAD_ARGS[@]}"
|
||||
if [[ "$SAMPLE_COUNT" -gt 0 && -f prompt-next-sample.py ]]; then
|
||||
python3 prompt-next-sample.py -s samples.txt -- spotread "${SPOTREAD_ARGS[@]}"
|
||||
else
|
||||
spotread "${SPOTREAD_ARGS[@]}"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Done. Convert to CSV with:"
|
||||
|
||||
Reference in New Issue
Block a user