fixed bug in parse_within_pop_allpairs.py