Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit fe988fd

Browse files
committed
handle .dicom in base filename
1 parent 9ebae55 commit fe988fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

run

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ if [[ "$type" == *.zip ]]; then
8080
input_file=`find $unzip_dir/* -type f | head -n 1`
8181
if [[ -e $input_file ]]; then
8282
echo "$CONTAINER Input file set to: $input_file"
83+
base_filename=`basename "$base_filename" .dicom`
8384
else
8485
echo "${CONTAINER} No input file found in: ${input_file}"
8586
exit 1

0 commit comments

Comments
 (0)