Skip to content

Commit

Permalink
removed stray commas, should fix sqlite error
Browse files Browse the repository at this point in the history
  • Loading branch information
aymonwuolanne committed Jan 6, 2025
1 parent a67d2eb commit b9461e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splink/internals/one_to_one_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def one_to_one_clustering(
) as rank_l,
row_number() over (
partition by r.representative order by match_probability desc
) as rank_r,
) as rank_r
from {neighbours.physical_name} as neighbours
inner join __splink__df_representatives_with_flags_{iteration} as l
on neighbours.node_id = l.node_id
Expand Down Expand Up @@ -160,7 +160,7 @@ def one_to_one_clustering(
(
select
neighbours.node_id,
repr_neighbour.representative as representative,
repr_neighbour.representative as representative
from __splink__df_neighbours_{iteration} as neighbours
left join {prev_representatives.physical_name} as repr_neighbour
on neighbours.neighbour = repr_neighbour.node_id
Expand Down

0 comments on commit b9461e0

Please sign in to comment.