Skip to content

Commit

Permalink
Reject "Missing images" in sensor-dicoms
Browse files Browse the repository at this point in the history
  • Loading branch information
chaselgrove committed Jan 31, 2024
1 parent 31d4b97 commit 98a1f29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utils/sensor-dicoms
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 98a1f29

Please sign in to comment.