fanhuan / AAF

alignment and assembly free
13 stars 4 forks source link

Math domain error in aaf_tip.py #9

Open puga02 opened 3 months ago

puga02 commented 3 months ago

Hello,

I have a Math domain error type when running aaf_tip.py on my data.

Traceback (most recent call last): File "AAF20190129/aaf_tip.py", line 115, in tip[key] = 0.5/float(kl) math.log((PrPe + Pta)/(Pr*2 Pe**2)) ValueError: math domain error

data_gs_c_24.txt

You can find attached the file serving as tip_info_test.txt.

It seems that data structure is fine since the script manages to run through all equations until Eq*10 (that is in the error message)

Have you an idea of what could be causing the error ?

Thank you