Skip to content

Commit

Permalink
Make paths relative to the root again
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSteinberg authored Aug 29, 2024
1 parent f312a50 commit 9f54547
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/meds/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def data_schema(custom_properties=[]):

# The subject split schema.

subject_splits_filepath = "subject_splits.parquet"
subject_splits_filepath = os.path.join("metadata", "subject_splits.parquet")

train_split = "train" # For ML training.
tuning_split = "tuning" # For ML hyperparameter tuning. Also often called "validation" or "dev".
Expand All @@ -118,7 +118,7 @@ def data_schema(custom_properties=[]):
# The dataset metadata schema.
# This is a JSON schema.

dataset_metadata_filepath = "dataset.json"
dataset_metadata_filepath = os.path.join("metadata", "dataset.json")

dataset_metadata_schema = {
"type": "object",
Expand Down Expand Up @@ -152,7 +152,7 @@ def data_schema(custom_properties=[]):
# The code metadata schema.
# This is a parquet schema.

code_metadata_filepath = "codes.parquet"
code_metadata_filepath = os.path.join("metadata", "codes.parquet")

description_field = "description"
description_dtype = pa.string()
Expand Down

0 comments on commit 9f54547

Please sign in to comment.