assertlen(found_regions)==len(target_regions),"len of found regions %s doesn't equal len of target regions %s"%(str(found_regions),str(target_regions))
assertlen(found_regions)==len(
target_regions
),"len of found regions %s doesn't equal len of target regions %s"%(
str(found_regions),
str(target_regions),
)
forregionintarget_regions:
assertregioninfound_regions,"region:%s not in found regions for msa:%d, pair:%d, maxmem:%d"%(str(region),msa_len,pair_len,max_memory)
assert(
regioninfound_regions
),"region:%s not in found regions for msa:%d, pair:%d, maxmem:%d"%(
str(region),
msa_len,
pair_len,
max_memory,
)
forregioninfound_regions:
assertregionintarget_regions,"region:%s should not be found for msa:%d, pair:%d, maxmem:%d"%(str(region),msa_len,pair_len,max_memory)
assert(
regionintarget_regions
),"region:%s should not be found for msa:%d, pair:%d, maxmem:%d"%(