aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-11-04 01:04:31 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-11-04 01:04:31 +0100
commit99597f7ca518ca752b4f677dd1a6fb2fab3e0ab6 (patch)
tree51a4c72a36c7a3a12ae5461d11ec31346ded31a4
parent61857f1cf317ce7ab992161fd5233f5277981eb9 (diff)
downloadfuzzycat-99597f7ca518ca752b4f677dd1a6fb2fab3e0ab6.tar.gz
fuzzycat-99597f7ca518ca752b4f677dd1a6fb2fab3e0ab6.zip
log failed line
-rw-r--r--fuzzycat/cluster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py
index 47d4470..da86f6c 100644
--- a/fuzzycat/cluster.py
+++ b/fuzzycat/cluster.py
@@ -85,7 +85,7 @@ def cut(f=0, sep='\t'):
def func(value):
parts = value.strip().split(sep)
if f >= len(parts):
- raise ValueError('cannot split value into {} parts'.format(f))
+ raise ValueError('cannot split value {} into {} parts'.format(value, f))
return parts[f]
return func