-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f87c2f
commit c39ec3b
Showing
4 changed files
with
136 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
from meds._version import __version__ # noqa | ||
|
||
from .schema import ( | ||
data_schema, label_schema, Label, train_split, tuning_split, held_out_split, patient_split_schema, | ||
code_metadata_schema, dataset_metadata_schema, CodeMetadata, DatasetMetadata, birth_code, death_code | ||
CodeMetadata, | ||
DatasetMetadata, | ||
Label, | ||
birth_code, | ||
code_metadata_schema, | ||
data_schema, | ||
dataset_metadata_schema, | ||
death_code, | ||
held_out_split, | ||
label_schema, | ||
subject_split_schema, | ||
train_split, | ||
tuning_split, | ||
) | ||
|
||
|
||
# List all objects that we want to export | ||
_exported_objects = { | ||
'data_schema': data_schema, | ||
'label_schema': label_schema, | ||
'Label': Label, | ||
'train_split': train_split, | ||
'tuning_split': tuning_split, | ||
'held_out_split': held_out_split, | ||
'patient_split_schema': patient_split_schema, | ||
'code_metadata_schema': code_metadata_schema, | ||
'dataset_metadata_schema': dataset_metadata_schema, | ||
'CodeMetadata': CodeMetadata, | ||
'DatasetMetadata': DatasetMetadata, | ||
'birth_code': birth_code, | ||
'death_code': death_code, | ||
"data_schema": data_schema, | ||
"label_schema": label_schema, | ||
"Label": Label, | ||
"train_split": train_split, | ||
"tuning_split": tuning_split, | ||
"held_out_split": held_out_split, | ||
"subject_split_schema": subject_split_schema, | ||
"code_metadata_schema": code_metadata_schema, | ||
"dataset_metadata_schema": dataset_metadata_schema, | ||
"CodeMetadata": CodeMetadata, | ||
"DatasetMetadata": DatasetMetadata, | ||
"birth_code": birth_code, | ||
"death_code": death_code, | ||
} | ||
|
||
__all__ = list(_exported_objects.keys()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.