weecology / sad-comparison

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

Import bug in sad-comparisons.py #39

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 175, in File "/usr/lib/wingide-101-4.1/src/debug/tserver/_sandbox.py", line 27, in import_abundance File "/usr/lib/python2.7/dist-packages/numpy/lib/npyio.py", line 1667, in genfromtxt raise ValueError(errmsg) ValueError: Some errors were detected ! Line #3 (got 4 columns instead of 1) Line #4 (got 4 columns instead of 1) Line #5 (got 4 columns instead of 1) Line #6 (got 4 columns instead of 1) Line #7 (got 4 columns instead of 1) Line #8 (got 4 columns instead of 1) Line #9 (got 4 columns instead of 1) Line #10 (got 4 columns instead of 1) Line #11 (got 4 columns instead of 1) Line #12 (got 4 columns instead of 1) Etc., etc...

embaldridge commented 9 years ago

Gentry data. Something weird happened when I killed 179 and saved it.

embaldridge commented 9 years ago

@ethanwhite: Help? I can't see what's wrong. I tried recovering the old version from Packrat, and getting rid of site 179 again, but it's still having problems. It should have four columns instead of one too. Unless it has something to do with the comment lines.

embaldridge commented 9 years ago

Of course the BBS and the FIA data have comment lines, and they are running just fine.

embaldridge commented 9 years ago

Got it, quotations got stuck around my comment strings for some reason.