Skip to content

Commit

Permalink
fix order operations
Browse files Browse the repository at this point in the history
  • Loading branch information
monique2208 committed Nov 28, 2024
1 parent 8ac8e41 commit 02a117b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions hed/tools/remodeling/operations/valid_operations.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
""" The valid operations for the remodeling tools. """

from hed.tools.remodeling.operations.extend_columns_op import ExtendColumnsOp
from hed.tools.remodeling.operations.delimiter_split_op import DelimiterSplitOp
from hed.tools.remodeling.operations.factor_column_op import FactorColumnOp
from hed.tools.remodeling.operations.factor_hed_tags_op import FactorHedTagsOp
from hed.tools.remodeling.operations.factor_hed_type_op import FactorHedTypeOp
from hed.tools.remodeling.operations.label_response_op import LabelResponseOp
from hed.tools.remodeling.operations.merge_columns_op import MergeColumnsOp
from hed.tools.remodeling.operations.merge_consecutive_op import MergeConsecutiveOp
from hed.tools.remodeling.operations.number_rows_op import NumberRowsOp
Expand All @@ -15,6 +17,7 @@
from hed.tools.remodeling.operations.rename_columns_op import RenameColumnsOp
from hed.tools.remodeling.operations.remap_values_op import RemapValuesOp
from hed.tools.remodeling.operations.replace_string_op import ReplaceStringOp
from hed.tools.remodeling.operations.split_by_column_op import SplitByColumnOp
from hed.tools.remodeling.operations.split_rows_op import SplitRowsOp
from hed.tools.remodeling.operations.summarize_column_names_op import SummarizeColumnNamesOp
from hed.tools.remodeling.operations.summarize_column_values_op import SummarizeColumnValuesOp
Expand All @@ -23,16 +26,15 @@
from hed.tools.remodeling.operations.summarize_hed_type_op import SummarizeHedTypeOp
from hed.tools.remodeling.operations.summarize_hed_tags_op import SummarizeHedTagsOp
from hed.tools.remodeling.operations.summarize_hed_validation_op import SummarizeHedValidationOp
from hed.tools.remodeling.operations.delimiter_split_op import DelimiterSplitOp
from hed.tools.remodeling.operations.split_by_column_op import SplitByColumnOp
from hed.tools.remodeling.operations.label_response_op import LabelResponseOp

valid_operations = {
# 'convert_columns': ConvertColumnsOp,
'extend_column': ExtendColumnsOp,
'delimiter_split': DelimiterSplitOp,
'factor_column': FactorColumnOp,
'factor_hed_tags': FactorHedTagsOp,
'factor_hed_type': FactorHedTypeOp,
'label_response': LabelResponseOp,
"merge_columns": MergeColumnsOp,
'merge_consecutive': MergeConsecutiveOp,
'number_groups': NumberGroupsOp,
Expand All @@ -44,15 +46,13 @@
'reorder_columns': ReorderColumnsOp,
'remap_values': RemapValuesOp,
'replace_string': ReplaceStringOp,
'split_by_column': SplitByColumnOp,
'split_rows': SplitRowsOp,
'summarize_column_names': SummarizeColumnNamesOp,
'summarize_column_values': SummarizeColumnValuesOp,
'summarize_definitions': SummarizeDefinitionsOp,
'summarize_hed_tags': SummarizeHedTagsOp,
'summarize_hed_type': SummarizeHedTypeOp,
'summarize_hed_validation': SummarizeHedValidationOp,
'summarize_sidecar_from_events': SummarizeSidecarFromEventsOp,
'delimiter_split': DelimiterSplitOp,
'split_by_column': SplitByColumnOp,
'label_response': LabelResponseOp
'summarize_sidecar_from_events': SummarizeSidecarFromEventsOp
}

0 comments on commit 02a117b

Please sign in to comment.