We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 563ac8a commit 72fa263Copy full SHA for 72fa263
mimic-iv/buildmimic/sqlite/import.py
@@ -96,6 +96,11 @@ def main():
96
print(f"Missing tables: {missing_tables}")
97
sys.exit()
98
99
+ # subselect to only tables in the above list
100
+ data_files = [f for f, t in zip(data_files, tablenames) if t in _MIMIC_TABLES]
101
+ tablenames = [t for t in tablenames if t in _MIMIC_TABLES]
102
+ print(f"Importing {len(tablenames)} files.")
103
+
104
pt = None
105
subjects = None
106
if args.limit > 0:
0 commit comments