remove custom blocking rule, as this is now deprecated
@@ -41,7 +41,7 @@ def _sql_gen_where_condition(link_type, unique_id_cols):
return where_condition
-def block_using_rules_sql(linker: "Linker", custom_rule: str = ""):
+def block_using_rules_sql(linker: "Linker"):
"""Use the blocking rules specified in the linker's settings object to
generate a SQL statement that will create pairwise record comparions
according to the blocking rule(s).
@@ -84,9 +84,6 @@ def block_using_rules_sql(linker: "Linker", custom_rule: str = ""):
# you create a cartesian product, rather than having separate code
# that generates a cross join for the case of no blocking rules
if not blocking_rules:
- if custom_rule:
- blocking_rules = [custom_rule]
- else:
blocking_rules = ["1=1"]
for matchkey_number, rule in enumerate(blocking_rules):
