From f688a66e62a4ea8fe5fb674c86ed5e86ac664855 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 30 Sep 2025 16:19:05 +0000 Subject: [PATCH 1/2] Initial plan From c08cd29571455b1be9b53b1c548e6f848fc889bb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 30 Sep 2025 16:26:38 +0000 Subject: [PATCH 2/2] =?UTF-8?q?Fix=20double=20negative=20typo:=20'cannot?= =?UTF-8?q?=20not=20be'=20=E2=86=92=20'cannot=20be'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: VisLab <1189050+VisLab@users.noreply.github.com> --- hed/tools/remodeling/operations/merge_consecutive_op.py | 2 +- tests/tools/remodeling/test_validator.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hed/tools/remodeling/operations/merge_consecutive_op.py b/hed/tools/remodeling/operations/merge_consecutive_op.py index bddbbfd3f..ae49f2c80 100644 --- a/hed/tools/remodeling/operations/merge_consecutive_op.py +++ b/hed/tools/remodeling/operations/merge_consecutive_op.py @@ -188,5 +188,5 @@ def validate_input_data(parameters): match_columns = parameters.get("match_columns", None) name = parameters.get("column_name", None) if match_columns and name in match_columns: - return [f"column_name `{name}` cannot not be a match_column."] + return [f"column_name `{name}` cannot be a match_column."] return [] diff --git a/tests/tools/remodeling/test_validator.py b/tests/tools/remodeling/test_validator.py index 14854a1bb..fca28a3c2 100644 --- a/tests/tools/remodeling/test_validator.py +++ b/tests/tools/remodeling/test_validator.py @@ -157,7 +157,7 @@ def test_validate_parameter_data(self): merge_consecutive_validate[0]["parameters"]["match_columns"].append("trial_type") error_strings = self.validator.validate(merge_consecutive_validate) self.assertEqual(error_strings[0], "Operation 1 (merge_consecutive): column_name `trial_type` " + - "cannot not be a match_column.") + "cannot be a match_column.") remap_columns_validate_same_length = [deepcopy(self.remodel_file)[5]] remap_columns_validate_same_length[0]["parameters"]["map_list"][0] = [""]