From 98a1f291d4a2990bc2c653a6e26f1d2357336325 Mon Sep 17 00:00:00 2001 From: Christian Haselgrove Date: Wed, 31 Jan 2024 14:38:55 -0500 Subject: [PATCH] Reject "Missing images" in sensor-dicoms --- utils/sensor-dicoms | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/sensor-dicoms b/utils/sensor-dicoms index c47f8442..3df288f3 100755 --- a/utils/sensor-dicoms +++ b/utils/sensor-dicoms @@ -76,6 +76,9 @@ for dir in "$@"; do if grep "Error: Check sorted order: 4D dataset has" "$TEMP/stderr"; then failed=1 fi + if grep "Error: Missing images." "$TEMP/stderr"; then + failed=1 + fi if [ -n "$failed" ]; then if [ -n "$DRY_RUN" ]; then echo mv "$dir" "$MOVE_TO_DIR"