odb9402 / OPPA

Oppa _ 오빠 :: Optimize Parameter in Peak detection Algorithm by bayesian optimization. ( keep )
MIT License
1 stars 2 forks source link

Error in /errorCalculation.py/is_noPeak() #2

Open odb9402 opened 7 years ago

odb9402 commented 7 years ago

about testing set,

if find (chr3,tcell)

odb9402 commented 7 years ago

-- if abs(float(target[index]['region_e']) - region_min) < 5 * steps:   | break   | steps += 1   |     | if float(target[index + 1]['region_s']) + tolerance > region_max:   | print "correct noPeak"   | return True

to

-- if abs(float(target[index]['region_e']) - region_min) < 5 * steps or steps > 1000 :   | break   | steps += 1   |     | if index + 1 == len(target) or\ | float(target[index + 1]['region_s']) + tolerance > region_max:   | print "correct noPeak"   | return True