famuvie / breedR

Statistical methods for forest genetic resources analysts
http://famuvie.github.io/breedR/
GNU General Public License v3.0
31 stars 24 forks source link

Error parsing results in models with many effects #24

Closed famuvie closed 9 years ago

famuvie commented 9 years ago

The file of solutions from (ai)remlf90 is formatted with fixed width, leaving only four spaces between the column of trait and the column of effect. Thus, if for one trait one has more than 999 effects the two columns become one.

Although it is not very common to have more than 999 effects, it is not that rare to use a splines component with, say $30 x 30$ knots (which gives $32^2 = 1024$ effects).

This is a weakness of the format, and we will ask for a solution upstream. But it is convenient to write a workaround for that.