diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2020-11-04 01:04:31 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2020-11-04 01:04:31 +0100 |
commit | 99597f7ca518ca752b4f677dd1a6fb2fab3e0ab6 (patch) | |
tree | 51a4c72a36c7a3a12ae5461d11ec31346ded31a4 | |
parent | 61857f1cf317ce7ab992161fd5233f5277981eb9 (diff) | |
download | fuzzycat-99597f7ca518ca752b4f677dd1a6fb2fab3e0ab6.tar.gz fuzzycat-99597f7ca518ca752b4f677dd1a6fb2fab3e0ab6.zip |
log failed line
-rw-r--r-- | fuzzycat/cluster.py | 2 |
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 |