Skip to content

Commit f423ad7

Browse files
authored
Fixed paths for building MIMIC-IV-Note postgres
1 parent 308d406 commit f423ad7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mimic-iv-note/buildmimic/postgres/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ git clone https://github.com/MIT-LCP/mimic-code.git
1010
cd mimic-code
1111
# download data
1212
wget -r -N -c -np --user <USERNAME> --ask-password https://physionet.org/files/mimiciv/2.2/
13-
mv physionet.org/files/mimiciv mimiciv && rmdir physionet.org/files && rm physionet.org/robots.txt && rmdir physionet.org
13+
mv physionet.org/files/mimiciv-iv-note mimiciv && rmdir physionet.org/files && rm physionet.org/robots.txt && rmdir physionet.org
1414
# if mimiciv not exists
1515
# createdb mimiciv
1616
psql -d mimiciv -f mimic-iv-note/buildmimic/postgres/create.sql
17-
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/2.2 -f mimic-iv-note/buildmimic/postgres/load_gz.sql
17+
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/2.2/note -f mimic-iv-note/buildmimic/postgres/load_gz.sql
1818
```

0 commit comments

Comments
 (0)