Skip to content

Commit

Permalink
Run remove_comment_cols before validate_input_tables
Browse files Browse the repository at this point in the history
This eliminates duplicate columns warnings on benchmarks
  • Loading branch information
olejandro committed Feb 13, 2024
1 parent 365e21b commit 2b55fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xl2times/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 2b55fb7

Please sign in to comment.