Skip to content

Commit

Permalink
Merge pull request #735 from chaselgrove/umms-censor
Browse files Browse the repository at this point in the history
Reject "Missing images" in sensor-dicoms
  • Loading branch information
yarikoptic committed Feb 3, 2024
2 parents 31d4b97 + 98a1f29 commit dd47b5d
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 dd47b5d

Please sign in to comment.