Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cdisc_rules_engine/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@
NULL_FLAVORS = ["", None, {None}, [], {}, np.nan]

KNOWN_REPORT_EXTENSIONS = [".json", ".xlsx", ".xls"]

VALIDATION_FORMATS_MESSAGE = (
"SAS V5 XPT, Dataset-JSON (JSON or NDJSON), or Excel (XLSX)"
)
5 changes: 2 additions & 3 deletions core.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@
get_rules_cache_key,
validate_dataset_files_exist,
)
from cdisc_rules_engine.constants import VALIDATION_FORMATS_MESSAGE
from cdisc_rules_engine.enums.dataformat_types import DataFormatTypes
from scripts.list_dataset_metadata_handler import list_dataset_metadata_handler
from scripts.run_validation import run_validation
from version import __version__

VALIDATION_FORMATS_MESSAGE = (
"SAS V5 XPT, Dataset-JSON (JSON or NDJSON), or Excel (XLSX)"
)
DEFAULT_CACHE_PATH = os.path.join(
os.path.dirname(os.path.abspath(__file__)), DefaultFilePaths.CACHE.value
)
Expand Down
Loading