Skip to content

Commit 38818ba

Browse files
author
Kevin Armengol
committed
Updated main module name to ddcuimap. Revised requirements and pyproject.toml. Other minor changes.
1 parent 5ace9bd commit 38818ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+216
-235
lines changed

.gitignore

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# User-specific stuff
2-
.idea/**/workspace.xml
3-
.idea/**/tasks.xml
4-
.idea/**/usage.statistics.xml
2+
.env
53
.idea/**/dictionaries
64
.idea/**/shelf
7-
/notebooks/.ipynb_checkpoints
5+
.idea/**/tasks.xml
6+
.idea/**/usage.statistics.xml
7+
.idea/**/workspace.xml
88
/.idea/
9-
.env
109
/dist/
11-
__pycache__/
1210
/docs
11+
/notebooks/.ipynb_checkpoints
12+
__pycache__/

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
- id: end-of-file-fixer
1212
- id: check-yaml
1313
- id: check-added-large-files
14-
exclude: data_dictionary_cui_mapping/semantic_search/resources/dict_umls_upsert_ids.pkl
14+
exclude: ddcuimap/semantic_search/resources/dict_umls_upsert_ids.pkl
1515
- id: debug-statements
1616

1717
#- repo: https://github.com/PyCQA/flake8

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Below is a sample data dictionary format that can be used as input for this pack
3030
In order to run and customize these pipelines, you will need to create/edit yaml configuration files located in configs. Run configurations are saved and can be reloaded.
3131

3232
```bash
33-
├───data_dictionary_cui_mapping
33+
├───ddcuimap
3434
│ ├───configs
3535
│ │ │ config.yaml
3636
│ │ │ __init__.py
@@ -54,18 +54,19 @@ In order to run and customize these pipelines, you will need to create/edit yaml
5454
## UMLS API and MetaMap Batch Queries
5555

5656
#### Import modules
57+
5758
```python
5859
# import batch_query_pipeline modules from metamap OR umls package
59-
from data_dictionary_cui_mapping.metamap import batch_query_pipeline as mm_bqp
60-
from data_dictionary_cui_mapping.umls import batch_query_pipeline as umls_bqp
60+
from ddcuimap.metamap import batch_query_pipeline as mm_bqp
61+
from ddcuimap.umls import batch_query_pipeline as umls_bqp
6162

6263
# import helper functions for loading, viewing, composing configurations for pipeline run
63-
from data_dictionary_cui_mapping.utils import helper
64+
from ddcuimap.utils import helper
6465
from omegaconf import OmegaConf
6566

6667
# import modules to create data dictionary with curated CUIs and check the file for missing mappings
67-
from data_dictionary_cui_mapping.curation import create_dictionary_import_file
68-
from data_dictionary_cui_mapping.curation import check_cuis
68+
from ddcuimap.curation import create_dictionary_import_file
69+
from ddcuimap.curation import check_cuis
6970
```
7071
#### Load/edit configuration files
7172
```python

data_dictionary_cui_mapping/metamap/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

data_dictionary_cui_mapping/configs/__init__.py renamed to ddcuimap/configs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from data_dictionary_cui_mapping.utils.helper import (
1+
from ddcuimap.utils.helper import (
22
load_config,
33
save_config,
44
compose_config,

0 commit comments

Comments
 (0)