rsmtool
rsmtool copied to clipboard
Capture incorrect input to correlations
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.