diff --git a/caiman/base/rois.py b/caiman/base/rois.py index a5d02eca7..a0eb8b147 100644 --- a/caiman/base/rois.py +++ b/caiman/base/rois.py @@ -216,7 +216,7 @@ def nf_match_neurons_in_binary_masks(masks_gt,masks_comp,thresh_cost=.7, min_dis else: pl.title(labels[1]+'(w), ' + labels[0] + '(r)') pl.axis('off') - except Exception, e: + except Exception as e: print("not able to plot precision recall usually because we are on travis") print(e) return idx_tp_gt,idx_tp_comp, idx_fn_gt, idx_fp_comp, performance