Commit e6533745 authored by Maximilian Beckers's avatar Maximilian Beckers
Browse files

bug fix for local resolutions

parent cc1b29f1
......@@ -85,7 +85,7 @@ def localFiltration(map, locResMap, apix, localVariance, windowSize, boxCoord, E
#this resolution is obviously not in the map, so skip
counter = counter + 1;
elif round(tmpRes,3) == round(limRes,3):
elif math.fabs(tmpRes - limRes) < 0.0000001:
xInd, yInd, zInd = indices[0], indices[1], indices[2];
#do local filtration
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment