We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File "ncm.py", line 61, in pearson_def return diffprod / math.sqrt(xdiff2 * ydiff2) ZeroDivisionError: float division by zero
when passing 2 vcfs that are very similar. Here are x and y that were passed to pearson_def(x,y) function
x = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0] y = [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
File "ncm.py", line 61, in pearson_def
return diffprod / math.sqrt(xdiff2 * ydiff2)
ZeroDivisionError: float division by zero
when passing 2 vcfs that are very similar.
Here are x and y that were passed to pearson_def(x,y) function
The text was updated successfully, but these errors were encountered: