Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when setting up reconciliation settings #2

Open
dbro opened this issue Oct 6, 2023 · 1 comment
Open

Error when setting up reconciliation settings #2

dbro opened this issue Oct 6, 2023 · 1 comment

Comments

@dbro
Copy link

dbro commented Oct 6, 2023

File "/home/me/src/csv-reconcile/csv_reconcile_levenshtein/init.py", line 22 in scoreMatch
ln = max(left, right) * 1.0

TypeError: can't multiply sequence by non-int of type 'float'

The values for left and right are strings, so it makes better sense to change this line to be
ln = max(len(left), len(right)) * 1.0

@gitonthescene
Copy link
Owner

I'm sorry. I totally missed this. I'll have a look and try to update this. Thanks for posting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants