Typo in Cluster.py -o argument, where I had written Assignments.h5.dist rather than Assignments.h5.distances.