rsmtool icon indicating copy to clipboard operation
rsmtool copied to clipboard

Capture incorrect input to correlations

Open aloukina opened this issue 5 years ago • 0 comments

Currently in correlation_helper we let pearsonr return np.nan if the input has zero variance which leads to RunTime warnings. We should check for these and return np.nan ourselves with a helpful message in a UserWarning.

aloukina avatar Feb 13 '20 20:02 aloukina