weecology / sad-comparison

Elita Baldridge's dissertation repository
8 stars 7 forks source link

Messed up _dist_test.csv file #27

Closed embaldridge closed 9 years ago

embaldridge commented 9 years ago

Traceback (most recent call last): File "/usr/lib/wingide-101-4.1/src/debug/tserver/_sandbox.py", line 161, in File "/usr/lib/wingide-101-4.1/src/debug/tserver/_sandbox.py", line 23, in import_results File "/usr/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 1667, in genfromtxt raise ValueError(errmsg) ValueError: Some errors were detected ! Line #315 (got 3 columns instead of 8)

embaldridge commented 9 years ago

That would be because none of the datasets are putting out anything for the Poisson lognormal now.

embaldridge commented 9 years ago

This presumably has something to do with the changes in lines 88-101 in sad-comparisons.py, but I'm going to bet it's the elif at 94.

embaldridge commented 9 years ago

Removing the elif seems to make things not messed up with the MCDB data. Since that worked, I will try the FIA.

embaldridge commented 9 years ago

FIA: 184085020037
S:10 N:33
Likelihood: -53.5322929467849 Abundances: 15 1 1 2 1 1 1 1 9 1

embaldridge commented 9 years ago

The -inf values are blanked out now, but there is still one negative likelihood left.

embaldridge commented 9 years ago

This problem should, in theory, be solved by actually trying to graph the correct thing, but the run isn't complete yet, so I don't know.

embaldridge commented 9 years ago

Fixed.