Skip to content
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

Empty icuid issue when execute mimic_direct_extract.py #73

Open
a11525 opened this issue Jun 26, 2023 · 0 comments
Open

Empty icuid issue when execute mimic_direct_extract.py #73

a11525 opened this issue Jun 26, 2023 · 0 comments

Comments

@a11525
Copy link

a11525 commented Jun 26, 2023

Dear MIMIC_Extract team,

I have been following the step-by-step instructions in the MIMIC_extract readme to run the mimic_direct_extract.py script. However, I encountered an error at line 5: where c.icustay_id in (). The issue seems to be with the empty parentheses in in (), which is caused by the icuids variable being empty at line 888 (({icuids})) in the mimic_direct_extract.py script.

I noticed that there have been changes in the MIT-LCP Repo, where the postgres-function.sql file is no longer present in the concepts directory. Instead, I used the postgres-function.sql file from the following location: [https://github.com/MIT-LCP/mimic-code/tree/main/mimic-iii/concepts_postgres]. Additionally, I used the postgres-make-concepts.sql file from the same repository.

I also used the convert_mimiciii_concepts_bq_to_psql.sh script from the concepts directory, executing it with bash.

Could you please guide me on what could be the possible issue and which parts I should check and modify to resolve this error?

Thank you for your assistance.

Best regards,
Sanghoon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant