Skip to content

Commit

Permalink
Update import statements in _omop.py files
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyuejohn committed Feb 15, 2024
1 parent 54d50fb commit ee73841
Show file tree
Hide file tree
Showing 5 changed files with 595 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ehrdata/io/_omop.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pandas as pd
from rich import print as rprint

from ehrdata.utils.omop_utils import check_with_omop_cdm, get_column_types, get_table_catalog_dict, read_table
from ehrdata.utils._omop_utils import check_with_omop_cdm, get_column_types, get_table_catalog_dict, read_table


def init_omop(
Expand Down
2 changes: 1 addition & 1 deletion ehrdata/pl/_omop.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import seaborn as sns

from ehrdata.tl import get_concept_name
from ehrdata.utils.omop_utils import get_column_types, map_concept_id, read_table
from ehrdata.utils._omop_utils import get_column_types, map_concept_id, read_table


# TODO allow users to pass features
Expand Down
2 changes: 1 addition & 1 deletion ehrdata/pp/_omop.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import pandas as pd
from rich import print as rprint

from ehrdata.utils.omop_utils import get_column_types, get_feature_info, read_table
from ehrdata.utils._omop_utils import get_column_types, get_feature_info, read_table


def get_feature_statistics(
Expand Down
2 changes: 1 addition & 1 deletion ehrdata/tl/_omop.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from anndata import AnnData
from rich import print as rprint

from ehrdata.utils.omop_utils import df_to_dict, get_column_types, read_table
from ehrdata.utils._omop_utils import df_to_dict, get_column_types, read_table


def get_concept_name(adata: Union[AnnData, dict], concept_id: Union[str, list], raise_error=False, verbose=True):
Expand Down
Loading

0 comments on commit ee73841

Please sign in to comment.