Skip to content

Commit 2aa9e5b

Browse files
authored
fix data dir, closes #1376 thanks @mmcdermott
1 parent bf9eaff commit 2aa9e5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mimic-iv/buildmimic/postgres/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ wget -r -N -c -np --user <USERNAME> --ask-password https://physionet.org/files/m
2121
mv physionet.org/files/mimiciv mimiciv && rmdir physionet.org/files && rm physionet.org/robots.txt && rmdir physionet.org
2222
createdb mimiciv
2323
psql -d mimiciv -f mimic-iv/buildmimic/postgres/create.sql
24-
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv -f mimic-iv/buildmimic/postgres/load_gz.sql
25-
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv -f mimic-iv/buildmimic/postgres/constraint.sql
26-
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv -f mimic-iv/buildmimic/postgres/index.sql
24+
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/2.0 -f mimic-iv/buildmimic/postgres/load_gz.sql
25+
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/2.0 -f mimic-iv/buildmimic/postgres/constraint.sql
26+
psql -d mimiciv -v ON_ERROR_STOP=1 -v mimic_data_dir=mimiciv/2.0 -f mimic-iv/buildmimic/postgres/index.sql
2727
```
2828

2929
## Detailed guide

0 commit comments

Comments
 (0)