From 14e1e8a41c184d8c89cbc2608d7e3ea7dd723e9d Mon Sep 17 00:00:00 2001 From: Matt Garber Date: Fri, 30 Aug 2024 14:12:43 -0400 Subject: [PATCH 1/2] Added static description tables --- .gitignore | 2 +- .sqlfluffignore | 1 + cumulus_library_umls/.DS_Store | Bin 0 -> 6148 bytes cumulus_library_umls/{umls => }/manifest.toml | 3 +- .../reference_sql/static_builder.sql | 69 ++ .../reference_sql/umls_builder.sql | 347 ++++++ cumulus_library_umls/static_builder.py | 160 +++ cumulus_library_umls/static_files/.DS_Store | Bin 0 -> 6148 bytes .../static_files/SemGroups_2018.txt | 127 ++ .../static_files/SemanticTypes_2018AB.txt | 127 ++ .../static_files/umls_rel.tsv | 14 + .../static_files/umls_rela.tsv | 1024 +++++++++++++++++ .../static_files/umls_tty.tsv | 243 ++++ .../static_files/umls_tui.tsv | 128 +++ .../{umls => }/umls_builder.py | 0 tests/test_static_builder.py | 73 ++ tests/test_umls_builder.py | 2 +- 17 files changed, 2317 insertions(+), 3 deletions(-) create mode 100644 .sqlfluffignore create mode 100644 cumulus_library_umls/.DS_Store rename cumulus_library_umls/{umls => }/manifest.toml (69%) create mode 100644 cumulus_library_umls/reference_sql/static_builder.sql create mode 100644 cumulus_library_umls/reference_sql/umls_builder.sql create mode 100644 cumulus_library_umls/static_builder.py create mode 100644 cumulus_library_umls/static_files/.DS_Store create mode 100644 cumulus_library_umls/static_files/SemGroups_2018.txt create mode 100644 cumulus_library_umls/static_files/SemanticTypes_2018AB.txt create mode 100644 cumulus_library_umls/static_files/umls_rel.tsv create mode 100644 cumulus_library_umls/static_files/umls_rela.tsv create mode 100644 cumulus_library_umls/static_files/umls_tty.tsv create mode 100644 cumulus_library_umls/static_files/umls_tui.tsv rename cumulus_library_umls/{umls => }/umls_builder.py (100%) create mode 100644 tests/test_static_builder.py diff --git a/.gitignore b/.gitignore index e8c465f..47d9100 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ downloads/ generated_parquet/ - +*.parquet # project specific downloads/ generated_parquet/ diff --git a/.sqlfluffignore b/.sqlfluffignore new file mode 100644 index 0000000..344ba51 --- /dev/null +++ b/.sqlfluffignore @@ -0,0 +1 @@ +cumulus_library_umls/reference_sql \ No newline at end of file diff --git a/cumulus_library_umls/.DS_Store b/cumulus_library_umls/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 Date: Fri, 30 Aug 2024 15:12:31 -0400 Subject: [PATCH 2/2] mac proofing --- .gitignore | 1 + cumulus_library_umls/static_files/.DS_Store | Bin 6148 -> 0 bytes 2 files changed, 1 insertion(+) delete mode 100644 cumulus_library_umls/static_files/.DS_Store diff --git a/.gitignore b/.gitignore index 47d9100..162165d 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ generated_parquet/ downloads/ generated_parquet/ output.sql +.DS_Store # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/cumulus_library_umls/static_files/.DS_Store b/cumulus_library_umls/static_files/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0