fixed bug in link
@@ -84,6 +84,7 @@ def _link(files, d_max, tolerance):
for group in _tqdm(_np.unique(clusters['groups'])):
temp = linked_locs[linked_locs['group']==group]
+ if len(temp) > 0:
n_after_link.append(len(temp))
linked_len.append(_np.mean(temp['len']))
linked_n.append(_np.mean(temp['n']))
