-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "relation "icustay_detail" does not exist" when running "make build_curated_from_psql" #18
Comments
You have to run build concepts before you run build_curated_from_psql. |
Apologies for the slow response. @singhalrk is correct; however, MIMIC also modified their code-base in the interim rendering our README instructions insufficient to build concepts. We've just pushed a new release, with new instructions, which we believe should have fixed this and all outstanding issues. Please re-open if you encounter any new issues. |
Hi @mmcdermott, I still have the same error. I tried to change MIMIC_Extract/mimic_querier.py Line 28 in 420bfc4
|
The issue is resolved by calling |
HI @zhangyongheng78 -- thanks for reaching out. It seems like LCP has changed their instructions / code once again, and as of 10 months ago these concepts are indeed built in the public schema, not the mimiciii schema. You are correct that the indicated change is all that should be required. I'll re-open this issue for tracking. Thanks for catching this! |
Hi, as the LCP, creates the concepts in the public schema we have to both use the public and mimiciii schema. I changed line 28 on Now, it is running! |
Thanks @fahim-sikder! I've not had time to in and incorporate any changes, but that comment is really helpful and will help others who run into the same issue. |
I have modified the file based on previous discussion. However, I still not able to read the public.icustay_detail table. I did not find this table in public schema. I noticed that some tables were dropped when I created the database. Is this correct? I believe I have downloaded all the tables. Not sure if I have missed anything. Thanks for helping! |
It appears this is still an issue. I don't see that table in the mimiciii data, does anyone know where that is supposed to be coming from? |
The colloid_bolus.sql file doesn't appear to have "DATETIME" in it anywhere either which causes the sed command to return nothing :/ installing:
then changing sed to gsed fixed that |
I needed to run the functions to load the mimic concepts here: |
Hi,
Thanks, for your detailed documentation. I've tried to follow the instructions as closely as possible, I've done "make concepts" from the original mimic repository and also successfully done "make build_concepts " from this repository. Looking at concepts in the directory of mimic data folder, I have this:
Also in curated folder of mimic extract folder, I only have "static_data.csv".
![image](https://user-images.githubusercontent.com/30268711/71595147-82a7f700-2b08-11ea-988d-17476c0bf45d.png)
This is a snapshot of the error I'm getting.
Do you have any idea what might be the issue?
Thanks :)
The text was updated successfully, but these errors were encountered: