From 5691fabd22e2b547fc228995db2656ee2bcc24b3 Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Tue, 27 Jan 2026 15:17:52 -0500 Subject: [PATCH] preprocessor catch --- cdisc_rules_engine/utilities/dataset_preprocessor.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cdisc_rules_engine/utilities/dataset_preprocessor.py b/cdisc_rules_engine/utilities/dataset_preprocessor.py index 33416586d..0b59eb229 100644 --- a/cdisc_rules_engine/utilities/dataset_preprocessor.py +++ b/cdisc_rules_engine/utilities/dataset_preprocessor.py @@ -116,9 +116,11 @@ def preprocess( # noqa (self._dataset_metadata.is_supp and domain_name == "SUPP--") or self._dataset_metadata.name == "RELREC" ): - raise PreprocessingError( - f"Failed to find related dataset for '{domain_name}' in preprocessor" + logger.info( + f"Related dataset '{domain_name}' not found for {self._dataset_metadata.name}. " + f"Skipping merge for this dataset." ) + continue for file_info in file_infos: if file_info.domain in merged_domains: