From 95d8bc4d8445137e66d90d64823adee8cb376918 Mon Sep 17 00:00:00 2001 From: Samuel Johnson <96841389+SFJohnson24@users.noreply.github.com> Date: Tue, 10 Feb 2026 10:38:54 -0500 Subject: [PATCH 1/3] Update core.py --- core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.py b/core.py index ef104df6b..5c43a0539 100644 --- a/core.py +++ b/core.py @@ -428,7 +428,7 @@ def validate( # noqa # Validate conditional options logger = logging.getLogger("validator") load_dotenv() - + standard=standard.lower() validate_dataset_files_exist(dataset_path, logger, ctx) if raw_report is True: From 7b6f3d9a1bde82ebf61de885ebc1f1b23127dc1a Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Tue, 10 Feb 2026 10:44:19 -0500 Subject: [PATCH 2/3] formatting --- core.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core.py b/core.py index 5c43a0539..ef96c5ac1 100644 --- a/core.py +++ b/core.py @@ -428,7 +428,7 @@ def validate( # noqa # Validate conditional options logger = logging.getLogger("validator") load_dotenv() - standard=standard.lower() + standard = standard.lower() validate_dataset_files_exist(dataset_path, logger, ctx) if raw_report is True: @@ -494,9 +494,9 @@ def validate( # noqa version, substandard, use_case, - set(controlled_terminology_package), # avoiding duplicates + set(controlled_terminology_package), output, - set(output_format), # avoiding duplicates + set(output_format), raw_report, define_version, external_dictionaries, From 4e7e03fa8c257c1a86119c88ceb8cca3d3eeaca9 Mon Sep 17 00:00:00 2001 From: Samuel Johnson Date: Tue, 10 Feb 2026 10:50:39 -0500 Subject: [PATCH 3/3] formatting --- core.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core.py b/core.py index ef96c5ac1..aec9c9535 100644 --- a/core.py +++ b/core.py @@ -428,9 +428,11 @@ def validate( # noqa # Validate conditional options logger = logging.getLogger("validator") load_dotenv() - standard = standard.lower() validate_dataset_files_exist(dataset_path, logger, ctx) + if not custom_standard: + standard = standard.lower() + if raw_report is True: if not (len(output_format) == 1 and output_format[0] == ReportTypes.JSON.value): logger.error( @@ -444,7 +446,7 @@ def validate( # noqa cache_path: str = os.path.join(os.path.dirname(__file__), cache) - if standard.lower() == "tig": + if standard == "tig": if not substandard or not use_case: logger.error( "Standard 'tig' requires both --substandard and --use-case to be specified."