Skip to content

Commit

Permalink
changed names to rarelink cdm
Browse files Browse the repository at this point in the history
  • Loading branch information
aslgraefe committed Sep 21, 2024
1 parent 50dd626 commit 7ef80fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/rarelink/pipelines/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
"""This module includes the codes for the different pipelines"""

from .rarelink_data_model import RARELINK_DATAMODEL_2_0
from .rarelink_cdm import RARELINK_CDM_2_0
from . import redcap_fhir_pipeline
from . import redcap_phenopacket_pipeline
from . import tabular_redcap_pipeline

__all__ = [

"RARELINK_DATAMODEL_2_0",
"RARELINK_CDM_2_0",
"redcap_fhir_pipeline",
"redcap_phenopacket_pipeline",
"tabular_redcap_pipeline",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

from phenopackets.schema.v2 import Phenopacket

from rarelink.pipelines import RARELINK_DATAMODEL_2_0
from rarelink.pipelines import RARELINK_CDM_2_0

from rarelink.preprocessing import preprocess_redcap_for_phenopacket_pipeline


def phenopacket_pipeline(path: Union[str, Path], rarelink_data_model=RARELINK_DATAMODEL_2_0) -> List[Phenopacket]:
def phenopacket_pipeline(path: Union[str, Path], rarelink_data_model=RARELINK_CDM_2_0) -> List[Phenopacket]:
# 0. load data using data model
# rl_data_set = rarelink_data_model.load_data(path) # TODO: once implemented in phenopacket_mapper,
# TODO: uncomment this line
Expand Down
2 changes: 1 addition & 1 deletion src/rarelink/pipelines/tabular_redcap_pipeline/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""This module implements the pipeline from any tabular medical data set to the RareLink REDCap CDM."""
"""This module implements the pipeline from any tabular medical data set to the RareLink CDM."""

__all__ = [

Expand Down

0 comments on commit 7ef80fc

Please sign in to comment.