Skip to content

Commit 8c71120

Browse files
committed
fix: correct duckdb iii usage/error text
1 parent 4cf9855 commit 8c71120

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mimic-iii/buildmimic/duckdb/import_duckdb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ echo "$0 $* " | grep -Eq " -h | --help " && usage
3939

4040
# rename CLI positional args to more friendly variable names
4141
MIMIC_DIR=$1
42-
# allow optional specification of duckdb name, otherwise default to mimic4.db
42+
# allow optional specification of duckdb name, otherwise default to mimic3.db
4343
OUTFILE=mimic3.db
4444
if [ -n "$2" ]; then
4545
OUTFILE=$2
@@ -54,7 +54,7 @@ elif [ ! -d "$MIMIC_DIR" ]; then
5454
yell "Specified directory \"$MIMIC_DIR\" does not exist."
5555
die "Usage: ./import_duckdb.sh mimic_data_dir [output_db]"
5656
elif [ -n "$3" ]; then
57-
yell "import.sh takes a maximum of two arguments."
57+
yell "import_duckdb.sh takes a maximum of two arguments."
5858
die "Usage: ./import_duckdb.sh mimic_data_dir [output_db]"
5959
elif [ -s "$OUTFILE" ]; then
6060
yell "File \"$OUTFILE\" already exists."

0 commit comments

Comments
 (0)