0

fixed last commit to use absolute value and more reasonable threshold

\o/ for padding my commit numbers!
This commit is contained in:
Andrew Brown
2012-05-11 22:23:42 -04:00
parent fdda8234ff
commit 6009461239

View File

@@ -484,7 +484,7 @@ class RegionSet(object):
p = f.split(".") p = f.split(".")
x = int(p[1]) x = int(p[1])
y = int(p[2]) y = int(p[2])
if x > 10000 or y > 10000: if abs(x) > 500000 or abs(y) > 500000:
logging.warning("Holy shit what is up with region file %s !?" % f) logging.warning("Holy shit what is up with region file %s !?" % f)
yield (x, y, path) yield (x, y, path)