Skip to content

Commit

Permalink
removing duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
CindyvdVries committed Jul 1, 2024
1 parent 1c062c0 commit 4ee1bc5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions decoimpact/business/workflow/model_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,6 @@ def _create_rule(rule_data: IRuleData) -> IRule:
rule = ClassificationRule(
rule_data.name, rule_data.input_variable_names, rule_data.criteria_table
)
elif isinstance(rule_data, IDepthAverageRuleData):
rule = DepthAverageRule(
rule_data.name, [rule_data.input_variable], rule_data.output_variable
)
else:
error_str = (
f"The rule type of rule '{rule_data.name}' is currently "
Expand Down

0 comments on commit 4ee1bc5

Please sign in to comment.