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 2cd3360 commit f925c03Copy full SHA for f925c03
mimic-iv/buildmimic/sqlite/import.py
@@ -97,10 +97,14 @@ def main():
97
sys.exit()
98
99
# subselect to only tables in the above list
100
+ ignored_files = set([f for f, t in zip(data_files, tablenames) if t not in _MIMIC_TABLES])
101
data_files = [f for f, t in zip(data_files, tablenames) if t in _MIMIC_TABLES]
102
tablenames = [t for t in tablenames if t in _MIMIC_TABLES]
103
print(f"Importing {len(tablenames)} files.")
104
105
+ if ignored_files:
106
+ print(f"Ignoring {len(ignored_files)} files: {ignored_files}")
107
+
108
pt = None
109
subjects = None
110
if args.limit > 0:
0 commit comments