From 2b55fb7d8bef5b87adc75030407ab3cbed4eaff3 Mon Sep 17 00:00:00 2001 From: Olexandr Balyk Date: Tue, 13 Feb 2024 14:33:10 -0500 Subject: [PATCH] Run remove_comment_cols before validate_input_tables This eliminates duplicate columns warnings on benchmarks --- xl2times/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xl2times/__main__.py b/xl2times/__main__.py index 425778d7..8be098f0 100644 --- a/xl2times/__main__.py +++ b/xl2times/__main__.py @@ -57,10 +57,10 @@ def convert_xl_to_times( transform_list = [ transforms.normalize_tags_columns, transforms.remove_fill_tables, - transforms.validate_input_tables, lambda config, tables, model: [ transforms.remove_comment_cols(t) for t in tables ], + transforms.validate_input_tables, transforms.remove_tables_with_formulas, # slow transforms.normalize_column_aliases, lambda config, tables, model: [