Browse Source

Add `get_final_rules`

pull/3/head
troyyyyy GitHub 3 years ago
parent
commit
410796c740
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      framework_hed.py

+ 0
- 1
framework_hed.py View File

@@ -308,7 +308,6 @@ def get_final_rules(rules):
for r in rule:
all_rule_dict[r] = 1 if r not in all_rule_dict else all_rule_dict[r] + 1
rule_dict = {rule: cnt for rule, cnt in all_rule_dict.items() if cnt >= 5}
rule_dict
return rule_dict




Loading…
Cancel
Save