diff options
-rw-r--r-- | fuzzycat/cluster.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py index 075366b..47d4470 100644 --- a/fuzzycat/cluster.py +++ b/fuzzycat/cluster.py @@ -126,6 +126,8 @@ class Cluster: print("{}\t{}".format(id, key), file=tf) except (KeyError, ValueError): continue + if self.verbose: + print(tf.name, file=sys.stderr) sbc = sort_by_column(tf.name, opts='-k 2', prefix=self.prefix, tmpdir=self.tmpdir) for doc in group_by(sbc, key=cut(f=1), value=cut(f=0), comment=keyfunc.__name__): json.dump(doc, self.output) |